Skip to content

Inside a Formula, how to properly refer to "/usr/local/opt/llvm@11/bin/clang"? #2218

Discussion options

You must be logged in to vote

Try

Formula["llvm@11"].opt_bin/"clang"

You shouldn't need to set CMAKE_PREFIX_PATH, as brew sets this for you during the build based on the formula's dependencies.

Replies: 1 comment

Comment options

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