Explorar el Código

make : update for latest Arch (#1701)

With the upcoming change to the openblas package in arch the Makefile workaround is no longer needed.
DaniAndTheWeb hace 2 años
padre
commit
86c7571864
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      Makefile

+ 1 - 5
Makefile

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