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()
235
235
endif ()
236
236
237
237
option (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 )
239
238
240
239
set (FLANG_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR} " CACHE PATH
241
240
"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)
126
126
endif ()
127
127
128
128
# 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 1
1
@LIT_SITE_CFG_IN_HEADER@
2
2
3
3
import sys
4
+ import lit.util
4
5
5
6
config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
6
7
config.llvm_shlib_dir = lit_config.substitute(path(r"@SHLIBDIR@"))
32
33
config.openmp_module_dir = None
33
34
config.flang_runtime_f128_math_lib = "@FLANG_RUNTIME_F128_MATH_LIB@"
34
35
config.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@")
36
37
37
38
import lit.llvm
38
39
lit.llvm.initialize(lit_config, config)
Original file line number Diff line number Diff line change @@ -26,17 +26,15 @@ add_flang_nongtest_unittest(integer
26
26
FortranSemantics
27
27
)
28
28
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
+ )
40
38
41
39
add_flang_nongtest_unittest (logical
42
40
NonGTestTesting
You can’t perform that action at this time.
0 commit comments