File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,6 @@ else()
235235endif ()
236236
237237option (FLANG_INCLUDE_RUNTIME "Build the runtime in-tree (deprecated; to be replaced with LLVM_ENABLE_RUNTIMES=flang-rt)" ON )
238- pythonize_bool(FLANG_INCLUDE_RUNTIME)
239238
240239set (FLANG_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR} " CACHE PATH
241240 "Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR} ')" )
Original file line number Diff line number Diff line change @@ -126,5 +126,7 @@ if (DEFINED FLANG_TEST_TARGET_TRIPLE)
126126endif ()
127127
128128# Compatibility targets.
129- add_custom_target (check-flang-rt)
130- add_dependencies (check-flang-rt check-flang)
129+ if (FLANG_INCLUDE_RUNTIME)
130+ add_custom_target (check-flang-rt)
131+ add_dependencies (check-flang-rt check-flang)
132+ endif ()
Original file line number Diff line number Diff line change 11@LIT_SITE_CFG_IN_HEADER@
22
33import sys
4+ import lit.util
45
56config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
67config.llvm_shlib_dir = lit_config.substitute(path(r"@SHLIBDIR@"))
3233 config.openmp_module_dir = None
3334config.flang_runtime_f128_math_lib = "@FLANG_RUNTIME_F128_MATH_LIB@"
3435config.have_ldbl_mant_dig_113 = "@HAVE_LDBL_MANT_DIG_113@"
35- config.flang_include_runtime = @FLANG_INCLUDE_RUNTIME@
36+ config.flang_include_runtime = lit.util.pythonize_bool(" @FLANG_INCLUDE_RUNTIME@")
3637
3738import lit.llvm
3839lit.llvm.initialize(lit_config, config)
Original file line number Diff line number Diff line change @@ -26,17 +26,15 @@ add_flang_nongtest_unittest(integer
2626 FortranSemantics
2727)
2828
29- if (FLANG_INCLUDE_RUNTIME)
30- add_flang_nongtest_unittest(intrinsics
31- FortranSupport
32- NonGTestTesting
33- FortranEvaluate
34- FortranDecimal
35- FortranSemantics
36- FortranParser
37- flang_rt
38- )
39- endif ()
29+ add_flang_nongtest_unittest(intrinsics
30+ FortranSupport
31+ NonGTestTesting
32+ FortranEvaluate
33+ FortranDecimal
34+ FortranSemantics
35+ FortranParser
36+ flang_rt
37+ )
4038
4139add_flang_nongtest_unittest(logical
4240 NonGTestTesting
You can’t perform that action at this time.
0 commit comments