diff --git a/sci-misc/llama-cpp/files/blas-ld.diff b/sci-misc/llama-cpp/files/blas-ld.diff deleted file mode 100644 index 884f218edb..0000000000 --- a/sci-misc/llama-cpp/files/blas-ld.diff +++ /dev/null @@ -1,16 +0,0 @@ -cmake does not properly configure linking against OpenBLAS or BLIS -https://github.com/ggerganov/llama.cpp/pull/11741 - -diff --git a/ggml/src/ggml-blas/CMakeLists.txt b/ggml/src/ggml-blas/CMakeLists.txt -index 0bf3c05d93a89..117416b988665 100644 ---- a/ggml/src/ggml-blas/CMakeLists.txt -+++ b/ggml/src/ggml-blas/CMakeLists.txt -@@ -54,6 +54,8 @@ if (BLAS_FOUND) - endif() - if (DepBLAS_FOUND) - set(BLAS_INCLUDE_DIRS ${DepBLAS_INCLUDE_DIRS}) -+ set(BLAS_LIBRARIES ${DepBLAS_LIBRARIES}) -+ set(BLAS_LINKER_FLAGS ${DepBLAS_LINKER_FLAGS}) - else() - message(WARNING "BLAS_INCLUDE_DIRS neither been provided nor been automatically" - " detected by pkgconfig, trying to find cblas.h from possible paths...")