File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,6 @@ else()
234
234
endif ()
235
235
236
236
option (FLANG_INCLUDE_RUNTIME "Build the runtime in-tree (deprecated; to be replaced with LLVM_ENABLE_RUNTIMES=flang-rt)" ON )
237
- pythonize_bool (FLANG_INCLUDE_RUNTIME )
238
237
239
238
set (FLANG_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR} " CACHE PATH
240
239
"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@"))
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)
You can’t perform that action at this time.
0 commit comments