make : update for latest Arch (#1701)

With the upcoming change to the openblas package in arch the Makefile workaround is no longer needed.
This commit is contained in:
DaniAndTheWeb 2023-06-17 18:17:22 +02:00 committed by GitHub
parent 3d59ec5935
commit 86c7571864
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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