mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add build with clang-7 on Travis
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com> https://github.com/intel/compute-runtime/pull/147 Change-Id: Id0874d340e0b63eaa1b4c756d7c188fef8aa6483
This commit is contained in:
committed by
sys_ocldev
parent
ff5e636fc2
commit
904c158377
13
scripts/docker/Dockerfile-ubuntu-18.04-clang-7
Normal file
13
scripts/docker/Dockerfile-ubuntu-18.04-clang-7
Normal file
@@ -0,0 +1,13 @@
|
||||
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 git pkg-config ninja-build intel-igc-opencl-dev intel-gmmlib-dev clang-7
|
||||
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=clang-7 -DCMAKE_CXX_COMPILER=clang++-7 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
CMD ["/bin/bash"]
|
||||
Reference in New Issue
Block a user