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 543f587 commit 64397afCopy full SHA for 64397af
ggml/src/CMakeLists.txt
@@ -164,10 +164,10 @@ if (GGML_OPENMP)
164
165
# On MSVC request the experimental OpenMP runtime (exposes newer APIs)
166
if(MSVC)
167
- message(STATUS "MSVC detected — requesting /openmp:experimental")
+ message(STATUS "MSVC detected — requesting /openmp:llvm")
168
# Apply to C and C++ compile commands (global fallback)
169
- add_compile_options($<$<COMPILE_LANGUAGE:C>:/openmp:experimental>)
170
- add_compile_options($<$<COMPILE_LANGUAGE:CXX>:/openmp:experimental>)
+ add_compile_options($<$<COMPILE_LANGUAGE:C>:/openmp:llvm>)
+ add_compile_options($<$<COMPILE_LANGUAGE:CXX>:/openmp:llvm>)
171
# (Optional) also export to linker flags if you need; usually not necessary
172
endif()
173
0 commit comments