File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ add_executable(next ${SRC_FILES})
8484# Pre-install OpenMP if needed (Clang/Linux)
8585# ============================
8686if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND UNIX AND NOT APPLE )
87- # Try a couple of common libomp locations; if missing, install
8887 if (NOT EXISTS "/usr/lib/llvm-18/lib/libomp.so"
8988 AND NOT EXISTS "/usr/lib/x86_64-linux-gnu/libomp.so"
9089 AND NOT EXISTS "/usr/lib/libomp.so" )
@@ -115,15 +114,4 @@ if(OpenMP_CXX_FOUND)
115114 target_link_libraries (next PRIVATE OpenMP::OpenMP_CXX )
116115else ()
117116 message (STATUS "OpenMP not found — building in single-threaded mode." )
118- endif ()
119- message (FATAL_ERROR "Automatic OpenMP installation not supported on this OS." )
120- endif ()
121-
122- if (OMP_INSTALL_RESULT EQUAL 0)
123- message (STATUS "OpenMP installed successfully. Re-run CMake configuration." )
124- message (FATAL_ERROR "" )
125- else ()
126- message (FATAL_ERROR "Automatic OpenMP installation failed. Check CI logs and package manager output." )
127- endif ()
128-
129117endif ()
You can’t perform that action at this time.
0 commit comments