]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
make : update for latest Arch (#1701)
authorDaniAndTheWeb <redacted>
Sat, 17 Jun 2023 16:17:22 +0000 (18:17 +0200)
committerGitHub <redacted>
Sat, 17 Jun 2023 16:17:22 +0000 (19:17 +0300)
With the upcoming change to the openblas package in arch the Makefile workaround is no longer needed.

Makefile

index eee9eeb53236dbfca152320423d04c950440feb0..72d6ad40c4aa8d020dffee48cbd92343734f17d9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -144,11 +144,7 @@ endif # LLAMA_NO_ACCELERATE
 
 ifdef LLAMA_OPENBLAS
        CFLAGS  += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas -I/usr/include/openblas
-       ifneq ($(shell grep -e "Arch Linux" -e "ID_LIKE=arch" /etc/os-release 2>/dev/null),)
-               LDFLAGS += -lopenblas -lcblas
-       else
-               LDFLAGS += -lopenblas
-       endif
+       LDFLAGS += -lopenblas
 endif # LLAMA_OPENBLAS
 
 ifdef LLAMA_BLIS