diff --git a/docker/packager/binary/Dockerfile b/docker/packager/binary/Dockerfile index 784d2130333..34fb8f0ea30 100644 --- a/docker/packager/binary/Dockerfile +++ b/docker/packager/binary/Dockerfile @@ -41,6 +41,9 @@ RUN apt-get update -y \ ninja-build \ gperf \ git \ + opencl-headers \ + ocl-icd-libopencl1 \ + intel-opencl-icd \ tzdata \ gperf \ cmake \ diff --git a/docker/packager/binary/build.sh b/docker/packager/binary/build.sh index d1c295d4afa..0d1bdc2a88a 100755 --- a/docker/packager/binary/build.sh +++ b/docker/packager/binary/build.sh @@ -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