-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Won't compile on a MacBook Pro M1 8 GB #123
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Have you updated your macOS / Xcode? My MacBook Air M2 shows:
And it compiles OK. |
@w3cdotorg It was exactly this. I re-downloaded the command line utilities from Apple's website. A pity this is not automatically updated. |
it cannot work on gcc 14.1.0 macos m2 gcc-14 -I. -Icommon -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -DNDEBUG -DGGML_USE_ACCELERATE -DACCELERATE_NEW_LAPACK -DACCELERATE_LAPACK_ILP64 -DGGML_USE_LLAMAFILE -DGGML_USE_METAL -std=c11 -fPIC -O3 -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -pthread -Wdouble-promotion -c ggml.c -o ggml.o |
Hi
I'm on a Macbook Pro M1 with 8GB RAM ; I use zsh (if that's of any importance).
I have no experience in C/C++ other than compiling stuff.
Cloning the repo and entering make gives this :
What could I do to improve this? Thanks for any insight. I'm aware that gcc on MacOS is in fact Clang : should I switch to the Brew gcc-12 ?
The text was updated successfully, but these errors were encountered: