Add builds with gcc-5 on Travis

Build on Ubuntu 16.04 and 18.04

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/145

Change-Id: Ie973a5e3108ebde159f242a364dba1b0bed6f772
This commit is contained in:
Jacek Danecki 2019-03-19 15:52:03 +01:00 committed by sys_ocldev
parent db9afd06cd
commit ff5e636fc2
3 changed files with 30 additions and 0 deletions

View File

@ -12,6 +12,9 @@ notifications:
- compute-runtime@intel.com
matrix:
include:
- os: linux
compiler: gcc
env: BUILD_OS=ubuntu-16.04 COMPILER=gcc-5
- os: linux
compiler: clang
env: BUILD_OS=ubuntu-16.04 COMPILER=clang-4
@ -27,6 +30,9 @@ matrix:
- os: linux
compiler: clang
env: BUILD_OS=ubuntu-18.04 COMPILER=clang-6
- os: linux
compiler: gcc
env: BUILD_OS=ubuntu-18.04 COMPILER=gcc-5
- os: linux
compiler: gcc
env: BUILD_OS=ubuntu-18.04 COMPILER=gcc-6

View File

@ -0,0 +1,12 @@
FROM docker.io/ubuntu:16.04
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo
RUN echo "deb http://ppa.launchpad.net/ocl-dev/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3086B78CC05B8B1; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-5 git pkg-config ninja-build intel-igc-opencl-dev intel-gmmlib-dev
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 ../neo; \
ninja -j `nproc`
CMD ["/bin/bash"]

View File

@ -0,0 +1,12 @@
FROM docker.io/ubuntu:18.04
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \
echo "deb http://ppa.launchpad.net/ocl-dev/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3086B78CC05B8B1; \
apt-get -y update ; apt-get install -y --allow-unauthenticated cmake g++-5 git pkg-config ninja-build intel-igc-opencl-dev intel-gmmlib-dev
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 ../neo; \
ninja -j `nproc`
CMD ["/bin/bash"]