Skip to content
Discussion options

You must be logged in to vote

The install error is likely fixed by:

but not in a tagged release yet. Probably only impacts brew 4.6.5 - 4.6.7 so could try either main branch or 4.6.4.


PoCL 7 error seems to be another Clang config lookup problem. Root cause may be same as:

Would need a fix in upstream LLVM around https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/Driver.cpp#L219-L238

Some possible workarounds:

  • forcing realpath, e.g. export POCL_PATH_CLANG=$(realpath $(brew --prefix llvm@20)/bin/clang)
  • using a user config file in ~/.config/clang/ that imitates corresponding one in $(brew --prefix)/etc/clang
  • or perhaps just manually setting SDKROOT

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ixfd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants