ci: find directory containing IGC

Change-Id: I1fa9d3505fe65ac96a1919cf8c2af22abc3544b7
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
This commit is contained in:
Jacek Danecki
2018-06-27 16:50:39 +02:00
committed by sys_ocldev
parent e18e9fb94e
commit 934f30fadf

View File

@ -37,8 +37,10 @@ pushd ${WRK_DIR}/igc
wget https://github.com/intel/compute-runtime/releases/download/${VER}/intel-opencl_${VER}_amd64.deb
ar -x intel-opencl_${VER}_amd64.deb
tar -xJf data.tar.xz
rm opt/intel/opencl/libigdrcl.so
ln -s opt/intel/opencl lib
find . -name libigdrcl.so -exec rm {} \;
LIB_PATH=`find . -name libigc.so`
echo "libraries found in ${LIB_PATH}"
ln -sv `dirname ${LIB_PATH}` lib
git clone https://github.com/intel/intel-graphics-compiler igc
pushd igc; git checkout ${IGC_REV}; popd