carbon-lang
carbon-lang copied to clipboard
Brew build error
After running "bazel run //explorer -- ./explorer/testdata/print/format_only.carbon" in the terminal, I get this error, "fail("llvm-ar not found in PATH or adjacent to clang")" could someone please tell me how to fix it? Thank you in advance!
Hi, Install llvm [even in GNU/Linux] with brew and set the path
brew install llvm
export PATH="$(brew --prefix llvm)/bin:${PATH}"
Install brew
brew documentationbrew.sh
Troubleshooting build issues
Many build issues result from the particular options clang and llvm have been built with, particularly when it comes to system-installed versions. This is why we recommend using Homebrew's LLVM.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please comment or remove the inactive label. The long term label can also be added for issues which are expected to take time.
This issue is labeled inactive because the last activity was over 90 days ago.
I think the previous post already answered this, closing.