File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,6 @@ else ()
242
242
message (STATUS "Not building Flang-RT. For a usable Fortran toolchain, compile a standalone Flang-RT" )
243
243
endif ()
244
244
endif ()
245
- pythonize_bool (FLANG_INCLUDE_RUNTIME )
246
245
247
246
set (FLANG_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR} " CACHE PATH
248
247
"Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR} ')" )
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@"))
29
30
config.openmp_module_dir = None
30
31
config.flang_runtime_f128_math_lib = "@FLANG_RUNTIME_F128_MATH_LIB@"
31
32
config.have_ldbl_mant_dig_113 = "@HAVE_LDBL_MANT_DIG_113@"
32
- config.flang_include_runtime = @FLANG_INCLUDE_RUNTIME@
33
+ config.flang_include_runtime = lit.util.pythonize_bool(" @FLANG_INCLUDE_RUNTIME@")
33
34
34
35
import lit.llvm
35
36
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