From 4b98db6727803622baf2c44b3f33497fefd92a03 Mon Sep 17 00:00:00 2001 From: Pablo Escobar Date: Wed, 18 Sep 2024 03:13:46 +0200 Subject: [PATCH] package/ci: disable OpenCL on some systems --- package/ci/circleci.yml | 2 ++ package/ci/unix-desktop.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/package/ci/circleci.yml b/package/ci/circleci.yml index 0a930ebc5..e68e24ded 100644 --- a/package/ci/circleci.yml +++ b/package/ci/circleci.yml @@ -341,6 +341,7 @@ jobs: CMAKE_CXX_FLAGS: --coverage LCOV_EXTRA_OPTS: --gcov-tool /usr/bin/gcov-4.8 CONFIGURATION: Debug + DISABLE_OPENCL: "ON" steps: - install-base-linux: extra: libfaad-dev libfreetype6-dev libjpeg-dev libopenal-dev libpng-dev libdevil-dev libharfbuzz-dev libassimp-dev libwebp-dev libzstd-dev ocl-icd-opencl-dev pocl wget @@ -516,6 +517,7 @@ jobs: environment: CMAKE_CXX_FLAGS: --coverage CONFIGURATION: Debug + DISABLE_OPENCL: "ON" steps: - install-base-macos: extra: faad2 harfbuzz assimp devil spirv-tools glslang openexr webp wget zstd libspng opencl-icd-loader pocl diff --git a/package/ci/unix-desktop.sh b/package/ci/unix-desktop.sh index 46d8f1aaa..9c2feec4b 100755 --- a/package/ci/unix-desktop.sh +++ b/package/ci/unix-desktop.sh @@ -54,6 +54,7 @@ cmake .. \ -DCMAKE_INSTALL_PREFIX=$HOME/deps \ -DCMAKE_INSTALL_RPATH=$HOME/deps/lib \ -DCMAKE_BUILD_TYPE=$CONFIGURATION \ + -DCMAKE_DISABLE_FIND_PACKAGE_OpenCL=${DISABLE_OPENCL:-OFF} \ -DMAGNUM_WITH_ASSIMPIMPORTER=ON \ -DMAGNUM_WITH_ASTCIMPORTER=ON \ -DMAGNUM_WITH_BASISIMAGECONVERTER=ON \