Open
Description
Instead of changing Homebrew logic so it finds the llvm@12
or llvm@15
, the neat way of doing this is:
ln -s ./llvm@12 /usr/local/opt/llvm
This creates a symlink to the relevant llvm@12
that Brew's build logic happily accepts.
I believe this even is the intended way of switching between llvm versions. Brew has --cc=gcc-13
for gcc@13
but never a --cc=llvm_clang-12
for llvm@12
.
Anyway, many thanks for spotting the line that makes llvm builds fail.
Metadata
Metadata
Assignees
Labels
No labels