You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR}')")
274
274
mark_as_advanced(FLANG_TOOLS_INSTALL_DIR)
275
275
276
-
set(FLANG_INTRINSIC_MODULES_DIR ""CACHEPATH"Additional search path for modules; needed for running all tests if not building flang-rt in a bootstrapping build")
276
+
#set(FLANG_INTRINSIC_MODULES_DIR "" CACHE PATH "Additional search path for modules; needed for running all tests if not building flang-rt in a bootstrapping build")
277
+
#set(FLANG_TEST_FLANG_RT_Fortran_FLAGS "" CACHE STRING "Additional flags that makes Flang find the Flang-RT modules during testing; typically -fintrinsic-modules-path=<path>")
278
+
#set(FLANG_TEST_OPENMP_Fortran_FLAGS "" CACHE STRING "Additional flags that makes Flang find the OpenMP modules during testing; typically -fintrinsic-modules-path=<path>")
279
+
280
+
set(FLANG_TEST_Fortran_FLAGS ""CACHESTRING"Additional Fortran flags for running tests, such as -fintrinsic-modules-path=<path>")
281
+
282
+
if ("flang-rt"IN_LIST LLVM_ENABLE_RUNTIMES)
283
+
set(FLANG_TEST_ENABLE_INTRINSICS_default ON)
284
+
else ()
285
+
set(FLANG_TEST_ENABLE_INTRINSICS_default OFF)
286
+
endif ()
287
+
option(FLANG_TEST_ENABLE_INTRINSICS "Enable tests that require intrinsic modules from Flang-RT""${FLANG_TEST_ENABLE_INTRINSICS_default}")
288
+
289
+
290
+
if ("openmp"IN_LIST LLVM_ENABLE_RUNTIMES AND FLANG_TEST_ENABLE_INTRINSICS)
291
+
set(FLANG_TEST_ENABLE_OPENMP_default ON)
292
+
else ()
293
+
set(FLANG_TEST_ENABLE_OPENMP_default OFF)
294
+
endif ()
295
+
option(FLANG_TEST_ENABLE_OPENMP "Enable tests that require modules from OpenMP""${FLANG_TEST_ENABLE_OPENMP_default}")
0 commit comments