add OpenCL libraries for CI (part 2)

This commit is contained in:
Artem Zuikov 2020-05-14 12:45:22 +03:00
parent 9b029eb310
commit 0ba4c373a9
2 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,9 @@ RUN apt-get update -y \
ninja-build \
gperf \
git \
opencl-headers \
ocl-icd-libopencl1 \
intel-opencl-icd \
tzdata \
gperf \
cmake \

View File

@ -15,6 +15,7 @@ mkdir -p build/build_docker
cd build/build_docker
ccache --show-stats ||:
ccache --zero-stats ||:
ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 /usr/lib/libOpenCL.so ||:
rm -f CMakeCache.txt
cmake .. -LA -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSANITIZE=$SANITIZER $CMAKE_FLAGS
ninja