aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsandyiscool <sandyiscool@gmail.com>2023-05-16 14:00:15 +0530
committerGitHub <noreply@github.com>2023-05-16 10:30:15 +0200
commit2a5ee023ad3022bc0b505343394b9754587fb731 (patch)
treeedb809a6f99ad643ee34693ffb6c0906db8e0c6e
parent63d20469b85467c5729cc9a97bd44cc3da63423f (diff)
Add alternate include path for openblas (#1476)
In some linux distributions (fedora, for example), the include path for openblas is located at '/usr/local/include'
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fff4c11..f9ec879 100644
--- a/Makefile
+++ b/Makefile
@@ -115,7 +115,7 @@ ifndef LLAMA_NO_ACCELERATE
endif
endif
ifdef LLAMA_OPENBLAS
- CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/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