From 00c2ccb9aab1f35ae3b8d0427f99bf954b653864 Mon Sep 17 00:00:00 2001 From: l3utterfly Date: Tue, 26 Mar 2024 15:26:58 +0900 Subject: [PATCH] use shared openblas --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 838b556cb0ac8..aa7ae20e4949e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -289,7 +289,7 @@ if (LLAMA_BLAS) add_subdirectory(../OpenBLAS ${CMAKE_CURRENT_BINARY_DIR}/OpenBLAS) - set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} openblas_static) + set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} openblas_shared) set(LLAMA_EXTRA_INCLUDES ${LLAMA_EXTRA_INCLUDES} ../OpenBLAS ${CMAKE_CURRENT_BINARY_DIR}/OpenBLAS) endif()