From: Diego Devesa Date: Thu, 27 Feb 2025 12:35:07 +0000 (+0100) Subject: whisper : support GGML_BACKEND_DL (whisper/2843) X-Git-Tag: upstream/0.0.4853~41 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=6d4c23b81b03c7b089a5f7a21ca73d1385d37191;p=pkg%2Fggml%2Fsources%2Fllama.cpp whisper : support GGML_BACKEND_DL (whisper/2843) * whisper : support GGML_BACKEND_DL * fix DTW crash * whisper.objc : fix build - add ggml-cpp.h --------- Co-authored-by: Georgi Gerganov --- diff --git a/ggml/src/CMakeLists.txt b/ggml/src/CMakeLists.txt index 0002ac18..fcb354e1 100644 --- a/ggml/src/CMakeLists.txt +++ b/ggml/src/CMakeLists.txt @@ -226,6 +226,9 @@ add_library(ggml-base gguf.cpp) target_include_directories(ggml-base PRIVATE .) +if (GGML_BACKEND_DL) + target_compile_definitions(ggml-base PUBLIC GGML_BACKEND_DL) +endif() add_library(ggml ggml-backend-reg.cpp)