Closed alfiecg24 closed 2 years ago
On Apple Silicon Macs, running ./configure where clang is at the path /opt/homebrew/opt/llvm/bin/clang (installed with brew install llvm) will fail. Make sure that users run export PATH="/usr/bin/:$PATH" before running ./configure.
./configure
clang
/opt/homebrew/opt/llvm/bin/clang
brew install llvm
export PATH="/usr/bin/:$PATH"
Hmmm, I felt like your configuration is weird, since by default, Homebrew LLVM is not linked (keg-only).
Ah yes, that will be the reason - sorry about that!
On Apple Silicon Macs, running
./configure
whereclang
is at the path/opt/homebrew/opt/llvm/bin/clang
(installed withbrew install llvm
) will fail. Make sure that users runexport PATH="/usr/bin/:$PATH"
before running./configure
.