]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
sync : whisper.cpp (ggml/1359)
authorGeorgi Gerganov <redacted>
Mon, 29 Sep 2025 13:49:11 +0000 (16:49 +0300)
committerGeorgi Gerganov <redacted>
Mon, 29 Sep 2025 14:43:58 +0000 (17:43 +0300)
* ggml : Fix MKL detection by quoting BLAS_INCLUDE_DIRS (whisper/3426)

* sync : whisper.cpp

ggml/src/ggml-blas/CMakeLists.txt

index 76064c3fd1fe828fc29bd8b1fe4b3c964c5dcffd..60ce4b1e02c1c7f292202c6015c2cb2ab373ae1d 100644 (file)
@@ -74,7 +74,7 @@ if (BLAS_FOUND)
 
     target_compile_options(ggml-blas PRIVATE ${BLAS_LINKER_FLAGS})
 
-    if (${BLAS_INCLUDE_DIRS} MATCHES "mkl" AND (${GGML_BLAS_VENDOR} MATCHES "Generic" OR ${GGML_BLAS_VENDOR} MATCHES "Intel"))
+    if ("${BLAS_INCLUDE_DIRS}" MATCHES "mkl" AND (${GGML_BLAS_VENDOR} MATCHES "Generic" OR ${GGML_BLAS_VENDOR} MATCHES "Intel"))
         add_compile_definitions(GGML_BLAS_USE_MKL)
     endif()