ci: use IGC from ppa for build on Shippable

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

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

Change-Id: Ic65895a38f8885cdffd48d26b51016cf6ec572e5
This commit is contained in:
Jacek Danecki
2018-07-27 10:15:12 +02:00
committed by sys_ocldev
parent 18326df1e2
commit 50d6e2e940
2 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,7 @@
mkdir workspace; cd workspace
git clone --depth 1 https://github.com/intel/gmmlib gmmlib
git clone ../../compute-runtime neo
pushd neo/scripts/igc ; ./prepare.sh ; popd
#pushd neo/scripts/igc ; ./prepare.sh ; popd
mkdir build; cd build
cmake -G Ninja -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release ../neo

View File

@ -26,6 +26,8 @@ wait_apt() {
sleep 5
done
}
echo "deb http://ppa.launchpad.net/jdanecki/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7B77841DF9C7FE04
apt-get -y update
if [ $? -ne 0 ]
@ -34,11 +36,11 @@ then
apt-get -y update
fi
apt-get install -y --allow-unauthenticated cmake ninja-build
apt-get install -y --allow-unauthenticated cmake ninja-build intel-igc-opencl-dev
if [ $? -ne 0 ]
then
wait_apt
apt-get install -y --allow-unauthenticated cmake ninja-build
apt-get install -y --allow-unauthenticated cmake ninja-build intel-igc-opencl-dev
fi
dpkg -r ccache