File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979LLAMA_OPTIONS = $(LLAMA ) -DBUILD_SHARED_LIBS=OFF -DLLAMA_CURL=OFF -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_TOOLS=OFF -DLLAMA_BUILD_SERVER=OFF -DGGML_RPC=OFF
8080WHISPER_OPTIONS = $(WHISPER ) -DBUILD_SHARED_LIBS=OFF -DWHISPER_BUILD_EXAMPLES=OFF -DWHISPER_BUILD_TESTS=OFF -DWHISPER_BUILD_SERVER=OFF -DWHISPER_RPC=OFF
8181MINIAUDIO_OPTIONS = $(MINIAUDIO ) -DBUILD_SHARED_LIBS=OFF -DMINIAUDIO_BUILD_EXAMPLES=OFF -DMINIAUDIO_BUILD_TESTS=OFF
82+ # Force release build for SYCL to avoid debug runtime issues
83+ ifneq (,$(findstring SYCL,$(LLAMA ) ) )
84+ ifeq ($(PLATFORM),windows)
85+ LLAMA_OPTIONS += -DCMAKE_BUILD_TYPE=Release
86+ WHISPER_OPTIONS += -DCMAKE_BUILD_TYPE=Release
87+ MINIAUDIO_OPTIONS += -DCMAKE_BUILD_TYPE=Release
88+ endif
89+ endif
8290# MinGW produces .a files without lib prefix, use -l:filename.a syntax
8391ifeq ($(PLATFORM ) ,windows)
8492L = -l:
You can’t perform that action at this time.
0 commit comments