mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
ci: switch Arch build to gcc8 on Semaphore
Change-Id: I764a902b89c84b318429198fa72bd138b4452a49 Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
317e6c08f4
commit
01fccf26a9
@@ -21,5 +21,5 @@
|
||||
|
||||
git fetch -t
|
||||
git clone ../compute-runtime neo
|
||||
docker build -f scripts/docker/Dockerfile-arch-gcc-5 -t neo-arch-gcc-5:ci .
|
||||
docker build -f scripts/docker/Dockerfile-arch-gcc-8 -t neo-arch-gcc-8:ci .
|
||||
|
||||
|
||||
14
scripts/docker/Dockerfile-arch-gcc-8
Normal file
14
scripts/docker/Dockerfile-arch-gcc-8
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM docker.io/base/archlinux
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-arch-gcc-8.sh /root
|
||||
COPY scripts/build-arch-dep.sh /root
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN /root/prepare-arch-gcc-8.sh
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ \
|
||||
-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