Skip to content

Commit 6d4c23b

Browse files
slarenggerganov
andcommitted
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 <[email protected]>
1 parent 6512a90 commit 6d4c23b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ggml/src/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ add_library(ggml-base
226226
gguf.cpp)
227227

228228
target_include_directories(ggml-base PRIVATE .)
229+
if (GGML_BACKEND_DL)
230+
target_compile_definitions(ggml-base PUBLIC GGML_BACKEND_DL)
231+
endif()
229232

230233
add_library(ggml
231234
ggml-backend-reg.cpp)

0 commit comments

Comments
 (0)