From: Perry Naseck Date: Fri, 16 Jan 2026 11:38:25 +0000 (-0500) Subject: ggml-blas: hide warnings from included BLAS headers (llama/18818) X-Git-Tag: upstream/1.8.3+155~138 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=ecb4b80c35934d446d3fb9d7786e8b79d32db97f;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ggml-blas: hide warnings from included BLAS headers (llama/18818) * 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 --- diff --git a/ggml/src/ggml-blas/CMakeLists.txt b/ggml/src/ggml-blas/CMakeLists.txt index fb0936f4..c27dc174 100644 --- a/ggml/src/ggml-blas/CMakeLists.txt +++ b/ggml/src/ggml-blas/CMakeLists.txt @@ -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"