-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Unbuildable Source #1287
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
Maybe you copied it in such a way that build-info.sh lost the execute permission. Try |
I didn't know that was possible. Your solution allows me to compile. Thank you very much. |
Maybe this could be prevented by running the script explicitly with sh in the Makefile ie. |
This sounds like a good way how to fix this. |
@slaren Yeah, that's a good idea. I can put in a PR. |
Fixed in #1294 |
Thanks fellas. I downloaded the newest source, and it compiled withour a problem. I appreciate! |
Hello,
my device is samsung s10+ and I can no longer compile your source files.
I expect that downloading the source files and typing make to compile is suffecient.
make LLAMA_OPENBLAS=1
I llama.cpp build info:
I UNAME_S: Linux
I UNAME_P: unknown
I UNAME_M: aarch64
I CFLAGS: -I. -O3 -std=c11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -pthread -DGGML_USE_OPENBLAS -I/usr/local/include/openblas -mcpu=native
I CXXFLAGS: -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -pthread -mcpu=native
I LDFLAGS: -lopenblas
I CC: clang version 16.0.2
I CXX: clang version 16.0.2
/data/data/com.termux/files/usr/bin/sh: 1: scripts/build-info.sh: Permission denied
make: *** [Makefile:216: build-info.h] Error 126
The error message makes no sense to me.
The text was updated successfully, but these errors were encountered: