Explorar o código

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'
sandyiscool %!s(int64=2) %!d(string=hai) anos
pai
achega
2a5ee023ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
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