]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ggml-blas: hide warnings from included BLAS headers (llama/18818)
authorPerry Naseck <redacted>
Fri, 16 Jan 2026 11:38:25 +0000 (06:38 -0500)
committerGeorgi Gerganov <redacted>
Fri, 30 Jan 2026 13:56:40 +0000 (15:56 +0200)
* fix compile def openblas, blis for compat libs, nvpl compile def, warn if no blas vendor set

* ggml-blas: hide warnings from included BLAS headers

ggml/src/ggml-blas/CMakeLists.txt

index fb0936f47b79bec3be5956cf5e820d4da9282c0f..c27dc174c0041772d4950247ba374a7a0afe3e32 100644 (file)
@@ -93,7 +93,7 @@ if (BLAS_FOUND)
     endif()
 
     target_link_libraries     (ggml-blas PRIVATE ${BLAS_LIBRARIES})
-    target_include_directories(ggml-blas PRIVATE ${BLAS_INCLUDE_DIRS})
+    target_include_directories(ggml-blas SYSTEM PRIVATE ${BLAS_INCLUDE_DIRS})
 else()
     message(FATAL_ERROR "BLAS not found, please refer to "
                         "https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"