Skip to content

Commit

Permalink
package/ci: find and compile against Apple's OpenCL implementation di…
Browse files Browse the repository at this point in the history
…rectly

Apple's OpenCL implementation doesn't seem to support being used through
the ICD, so you have to compile against it directly or use a wrapper.

See also:
https://portablecl.org/docs/html/using.html#using-pocl-on-macosx
https://github.com/jrprice/ocl_icd_wrapper
  • Loading branch information
pezcode committed Sep 18, 2024
1 parent 5e7fd40 commit 1226a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/ci/circleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ jobs:
DISABLE_OPENCL: "ON"
steps:
- install-base-macos:
extra: faad2 harfbuzz assimp devil spirv-tools glslang openexr webp wget zstd libspng opencl-icd-loader pocl
extra: faad2 harfbuzz assimp devil spirv-tools glslang openexr webp wget zstd libspng
- install-basis
- install-meshoptimizer
- build:
Expand All @@ -536,7 +536,7 @@ jobs:
CONFIGURATION: Debug
steps:
- install-base-macos:
extra: faad2 harfbuzz assimp devil spirv-tools glslang openexr webp wget zstd libspng opencl-icd-loader pocl
extra: faad2 harfbuzz assimp devil spirv-tools glslang openexr webp wget zstd libspng
- install-basis:
tag: "1.16.4"
- install-meshoptimizer
Expand Down

0 comments on commit 1226a9f

Please sign in to comment.