Commit cb20c9f1 authored by Ondrej Mosnáček's avatar Ondrej Mosnáček

[CI] Correctly handle misplaced ICD file

parent 545cb371
Pipeline #52517055 passed with stages
in 61 minutes and 22 seconds
......@@ -5,7 +5,10 @@ fi
cd pocl/build || exit 1
make install || exit 1
mkdir -p /etc/OpenCL/vendors || exit 1
cp /usr/local/etc/OpenCL/vendors/pocl.icd /etc/OpenCL/vendors/pocl.icd || exit 1
if [ -f /usr/local/etc/OpenCL/vendors/pocl.icd ]; then
cp /usr/local/etc/OpenCL/vendors/pocl.icd \
/etc/OpenCL/vendors/pocl.icd || exit 1
fi
cd ../.. || exit 1
cd build/$COMPILER-$CUDA || exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment