Skip to content

Commit 2a5ee02

Browse files
authored
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'
1 parent 63d2046 commit 2a5ee02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ ifndef LLAMA_NO_ACCELERATE
115115
endif
116116
endif
117117
ifdef LLAMA_OPENBLAS
118-
CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas
118+
CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas -I/usr/include/openblas
119119
ifneq ($(shell grep -e "Arch Linux" -e "ID_LIKE=arch" /etc/os-release 2>/dev/null),)
120120
LDFLAGS += -lopenblas -lcblas
121121
else

0 commit comments

Comments
 (0)