ci: use IGC from manifest
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com> https://github.com/intel/compute-runtime/pull/238 Change-Id: I57316456cbea47bbea19a353475280c0b22baca3
This commit is contained in:
parent
32d1869d4f
commit
49ad839818
|
@ -5,12 +5,17 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
set -x
|
||||
|
||||
IGC=($(grep -B 1 intelgraphicscompiler manifest.yml))
|
||||
|
||||
mkdir /root/build-igc
|
||||
cd /root/build-igc
|
||||
|
||||
|
||||
export cclang_commit_id=6257ffe137a2c8df95a3f3b39fa477aa8ed15837
|
||||
export spirv_id=8ce6443ec1020183eafaeb3410c7d1edc2355dc3
|
||||
export igc_commit_id=8234eab514161d6a45ff04ed6418840f4e959942
|
||||
export igc_commit_id=${IGC[1]}
|
||||
|
||||
wget --no-check-certificate https://github.com/intel/opencl-clang/archive/${cclang_commit_id}/opencl-clang.tar.gz
|
||||
wget --no-check-certificate https://github.com/intel/intel-graphics-compiler/archive/${igc_commit_id}/igc.tar.gz
|
||||
|
|
|
@ -5,12 +5,17 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
set -x
|
||||
|
||||
IGC=($(grep -B 1 intelgraphicscompiler manifest.yml))
|
||||
|
||||
mkdir /root/build-igc
|
||||
cd /root/build-igc
|
||||
|
||||
|
||||
export cclang_commit_id=41cad395859684b18e762ca4a2c713c2fa349622
|
||||
export spirv_id=83298e3c9b124486c16d0fde54c764a6c5a2b554
|
||||
export igc_commit_id=8234eab514161d6a45ff04ed6418840f4e959942
|
||||
export igc_commit_id=${IGC[1]}
|
||||
|
||||
wget --no-check-certificate https://github.com/intel/opencl-clang/archive/${cclang_commit_id}/opencl-clang.tar.gz
|
||||
wget --no-check-certificate https://github.com/intel/intel-graphics-compiler/archive/${igc_commit_id}/igc.tar.gz
|
||||
|
|
|
@ -4,12 +4,13 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
|||
COPY neo /root/neo
|
||||
COPY scripts/build-igc-llvm7.sh /root
|
||||
COPY scripts/igc/llvm7.patch /root
|
||||
COPY manifests/manifest.yml /root
|
||||
|
||||
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg cmake git pkg-config ninja-build clang-7 wget llvm-7-dev libclang-7-dev bison python2.7 flex python procps; \
|
||||
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 intel-gmmlib-dev
|
||||
RUN /root/build-igc-llvm7.sh
|
||||
RUN cd /root; ./build-igc-llvm7.sh
|
||||
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`
|
||||
|
|
|
@ -3,12 +3,13 @@ MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
|
|||
|
||||
COPY neo /root/neo
|
||||
COPY scripts/build-igc-llvm8.sh /root
|
||||
COPY manifests/manifest.yml /root
|
||||
|
||||
RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg cmake git pkg-config ninja-build clang-8 wget llvm-8-dev libclang-8-dev bison python2.7 flex python procps dos2unix; \
|
||||
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 intel-gmmlib-dev
|
||||
RUN /root/build-igc-llvm8.sh
|
||||
RUN cd /root; ./build-igc-llvm8.sh
|
||||
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 \
|
||||
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo ; ninja -j `nproc`
|
||||
|
|
Loading…
Reference in New Issue