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 872c365 commit 7e312f1Copy full SHA for 7e312f1
.github/workflows/build.yml
@@ -169,7 +169,7 @@ jobs:
169
- build: 'avx'
170
defines: '-DLLAMA_AVX2=OFF'
171
- build: 'avx512'
172
- defines: '-DLLAMA_AVX512=ON'
+ defines: '-DLLAMA_AVX512=ON -DBUILD_SHARED_LIBS=ON'
173
174
steps:
175
- name: Clone
CMakeLists.txt
@@ -201,6 +201,10 @@ endif()
201
202
if (MSVC)
203
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
204
+
205
+ if (BUILD_SHARED_LIBS)
206
+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
207
+ endif()
208
endif()
209
210
if (LLAMA_LTO)
0 commit comments