Skip to content

Commit 035e76f

Browse files
committed
Revert "Add experimental OpenMP runtime support for MSVC"
This reverts commit 543f587.
1 parent 82bdd8d commit 035e76f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

ggml/src/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,6 @@ if (GGML_OPENMP)
162162

163163
set(GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} OpenMP::OpenMP_C OpenMP::OpenMP_CXX)
164164

165-
# On MSVC request the experimental OpenMP runtime (exposes newer APIs)
166-
if(MSVC)
167-
message(STATUS "MSVC detected — requesting /openmp:experimental")
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>)
171-
# (Optional) also export to linker flags if you need; usually not necessary
172-
endif()
173-
174165
if (GGML_MUSA)
175166
set(GGML_EXTRA_INCLUDES ${GGML_EXTRA_INCLUDES} "/usr/lib/llvm-10/include/openmp")
176167
set(GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} "/usr/lib/llvm-10/lib/libomp.so")

0 commit comments

Comments
 (0)