We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3637576 commit c0f1a5eCopy full SHA for c0f1a5e
tests/CMakeLists.txt
@@ -104,8 +104,8 @@ if (LLAMA_LLGUIDANCE)
104
llama_build_and_test(test-grammar-llguidance.cpp ARGS ${CMAKE_CURRENT_SOURCE_DIR}/../models/ggml-vocab-llama-bpe.gguf)
105
endif ()
106
107
-if (NOT WIN32)
108
- # these tests are disabled on Windows because they use internal functions not exported with LLAMA_API
+if (NOT WIN32 OR NOT BUILD_SHARED_LIBS)
+ # these tests are disabled on Windows because they use internal functions not exported with LLAMA_API (when building with shared libraries)
109
llama_build_and_test(test-sampling.cpp)
110
llama_build_and_test(test-grammar-parser.cpp)
111
llama_build_and_test(test-grammar-integration.cpp)
0 commit comments