ソースを参照

make : update for latest Arch (#1701)

With the upcoming change to the openblas package in arch the Makefile workaround is no longer needed.
DaniAndTheWeb 2 年 前
コミット
86c7571864
1 ファイル変更1 行追加5 行削除
  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