Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm is already installed but getting error in make on M1 mac #343

Open
zendevil opened this issue Oct 22, 2023 · 1 comment
Open

llvm is already installed but getting error in make on M1 mac #343

zendevil opened this issue Oct 22, 2023 · 1 comment

Comments

@zendevil
Copy link

zendevil@Prits-MacBook-Air m1n1 % brew install llvm
Warning: llvm 17.0.3 is already installed and up-to-date.
To reinstall 17.0.3, run:
  brew reinstall llvm
zendevil@Prits-MacBook-Air m1n1 % make
INFO: Building on Darwin
INFO: Toolchain path: /usr/local/opt/llvm/bin/
make: /usr/local/opt/llvm/bin/clang: Command not found
  CC    build/adt.o
/bin/sh: /usr/local/opt/llvm/bin/clang: No such file or directory
make: *** [build/adt.o] Error 127
@zendevil zendevil changed the title llvm is already installed but getting error in make. llvm is already installed but getting error in make on M1 mac Oct 22, 2023
@xvolks
Copy link

xvolks commented Oct 30, 2023

It seems that your brew installation is a x86 version. You should switch to Arm64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants