diff options
author | sandyiscool <sandyiscool@gmail.com> | 2023-05-16 14:00:15 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 10:30:15 +0200 |
commit | 2a5ee023ad3022bc0b505343394b9754587fb731 (patch) | |
tree | edb809a6f99ad643ee34693ffb6c0906db8e0c6e | |
parent | 63d20469b85467c5729cc9a97bd44cc3da63423f (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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |