Skip to content

Commit

Permalink
package/ci: disable OpenCL on some systems
Browse files Browse the repository at this point in the history
  • Loading branch information
pezcode committed Sep 18, 2024
1 parent fe58c48 commit 4b98db6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/ci/circleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package/ci/unix-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 4b98db6

Please sign in to comment.