Skip to content

Commit b9b6446

Browse files
committed
Move the pybool logic from CMake to Python for simplicity
This is how similar booleans are handled, and seems to work for me locally. llvm-svn: 362039
1 parent 325003b commit b9b6446

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

debuginfo-tests/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ set(DEBUGINFO_TEST_DEPS
1313
not
1414
)
1515

16-
# Indicate if this is an MSVC environment.
17-
pythonize_bool(MSVC)
18-
1916
configure_lit_site_cfg(
2017
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
2118
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py

debuginfo-tests/lit.site.cfg.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ config.has_lld = lit.util.pythonize_bool("@DEBUGINFO_TESTS_HAS_LLD@")
1717
config.host_triple = "@LLVM_HOST_TRIPLE@"
1818
config.target_triple = "@TARGET_TRIPLE@"
1919
config.host_arch = "@HOST_ARCH@"
20-
config.is_msvc = @MSVC_PYBOOL@
20+
config.is_msvc = lit.util.pythonize_bool("@MSVC@")
2121

2222
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
2323

0 commit comments

Comments
 (0)