File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -122,11 +122,11 @@ endif ()
122122
123123if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES AND NOT FLANG_STANDALONE_BUILD)
124124 # For intrinsic module files (in flang-rt/)
125- list (APPEND FLANG_TEST_DEPENDS "flang-rt-mod" )
126-
125+ list (APPEND FLANG_TEST_DEPENDS "flang-rt-mod" )
126+
127127 if ("openmp" IN_LIST LLVM_ENABLE_RUNTIMES)
128128 # For omplib.mod and omplib_kinds.mod (in openmp/)
129- list (APPEND FLANG_TEST_DEPENDS "libomp-mod" )
129+ list (APPEND FLANG_TEST_DEPENDS "libomp-mod" )
130130 endif ()
131131endif ()
132132
Original file line number Diff line number Diff line change @@ -165,6 +165,9 @@ endif()
165165
166166if (LIBOMP_FORTRAN_MODULES)
167167 add_subdirectory (module)
168+ else ()
169+ message (STATUS "Building omp_lib.mod disabled by LIBOMP_FORTRAN_MODULES='${LIBOMP_FORTRAN_MODULES} '; libomp-mod does nothing" )
170+ add_custom_target (libomp-mod)
168171endif ()
169172
170173# Use the current compiler target to determine the appropriate runtime to build.
You can’t perform that action at this time.
0 commit comments