llamacpp: simplify build (#12308)

To enable fuzz introspector

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2024-08-05 23:12:00 +01:00 committed by GitHub
parent 0175f1aa58
commit 2d08a7531c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ sed -i 's/ggml_print_backtrace();//g' ./ggml/src/ggml.c
# Remove statefulness during fuzzing.
sed -i 's/static bool is_first_call/bool is_first_call/g' ./ggml/src/ggml.c
UNAME_M=amd642 UNAME_p=amd642 LLAMA_NO_METAL=1 make -j$(nproc)
UNAME_M=amd642 UNAME_p=amd642 LLAMA_NO_METAL=1 make -j$(nproc) llama-gguf llama-server
# Convert models into header files so we can use them for fuzzing.