mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
ci: add scripts to build Neo on external CI systems
IGC binaries are used from specific Neo release. IGC sources are synchronized with binary release. Change-Id: If75aebc68aa0ced1b5c7493747eedc3e16842252
This commit is contained in:
committed by
sys_ocldev
parent
561db94eac
commit
80f11d1ac2
14
scripts/docker/Dockerfile-arch-gcc-5
Normal file
14
scripts/docker/Dockerfile-arch-gcc-5
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-5.sh /root
|
||||
COPY scripts/build-arch-dep.sh /root
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN /root/prepare-arch-gcc-5.sh
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN 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"]
|
||||
12
scripts/docker/Dockerfile-ubuntu-16.04-clang-4
Normal file
12
scripts/docker/Dockerfile-ubuntu-16.04-clang-4
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM docker.io/ubuntu:16.04
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake git wget pkg-config ninja-build clang-4.0
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=clang-4.0 -DCMAKE_CXX_COMPILER=clang++-4.0 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
CMD ["/bin/bash"]
|
||||
12
scripts/docker/Dockerfile-ubuntu-16.04-clang-5
Normal file
12
scripts/docker/Dockerfile-ubuntu-16.04-clang-5
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM docker.io/ubuntu:16.04
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake git wget pkg-config ninja-build clang-5.0
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=clang-5.0 -DCMAKE_CXX_COMPILER=clang++-5.0 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
CMD ["/bin/bash"]
|
||||
12
scripts/docker/Dockerfile-ubuntu-16.04-gcc-5
Normal file
12
scripts/docker/Dockerfile-ubuntu-16.04-gcc-5
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM docker.io/ubuntu:16.04
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake g++-5 git wget pkg-config ninja-build
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
CMD ["/bin/bash"]
|
||||
12
scripts/docker/Dockerfile-ubuntu-18.04-clang-4
Normal file
12
scripts/docker/Dockerfile-ubuntu-18.04-clang-4
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM docker.io/ubuntu:18.04
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake git wget pkg-config ninja-build clang-4.0
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=clang-4.0 -DCMAKE_CXX_COMPILER=clang++-4.0 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
CMD ["/bin/bash"]
|
||||
12
scripts/docker/Dockerfile-ubuntu-18.04-clang-5
Normal file
12
scripts/docker/Dockerfile-ubuntu-18.04-clang-5
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM docker.io/ubuntu:18.04
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake git wget pkg-config ninja-build clang-5.0
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=clang-5.0 -DCMAKE_CXX_COMPILER=clang++-5.0 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
CMD ["/bin/bash"]
|
||||
12
scripts/docker/Dockerfile-ubuntu-18.04-gcc-5
Normal file
12
scripts/docker/Dockerfile-ubuntu-18.04-gcc-5
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM docker.io/ubuntu:18.04
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake g++-5 git wget pkg-config ninja-build
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
CMD ["/bin/bash"]
|
||||
12
scripts/docker/Dockerfile-ubuntu-18.04-gcc-6
Normal file
12
scripts/docker/Dockerfile-ubuntu-18.04-gcc-6
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM docker.io/ubuntu:18.04
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake g++-6 git wget pkg-config ninja-build
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
CMD ["/bin/bash"]
|
||||
12
scripts/docker/Dockerfile-ubuntu-18.04-gcc-7
Normal file
12
scripts/docker/Dockerfile-ubuntu-18.04-gcc-7
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM docker.io/ubuntu:18.04
|
||||
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
||||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/prepare-workspace.sh /root
|
||||
|
||||
RUN apt-get -y update; apt-get install -y --allow-unauthenticated cmake g++-7 git wget pkg-config ninja-build
|
||||
RUN /root/prepare-workspace.sh
|
||||
RUN cd /root/build ; cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-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