aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniAndTheWeb <57776841+DaniAndTheWeb@users.noreply.github.com>2023-06-17 18:17:22 +0200
committerGitHub <noreply@github.com>2023-06-17 19:17:22 +0300
commit86c7571864ff331f8cdb9e092f3abeb123729a56 (patch)
tree536ff215f9d100943fd71893bc475560f2da0e4d
parent3d59ec5935ea1d33e9d51060a8dd737169b9b89b (diff)
make : update for latest Arch (#1701)
With the upcoming change to the openblas package in arch the Makefile workaround is no longer needed.
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index eee9eeb..72d6ad4 100644
--- 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