Skip to content
Snippets Groups Projects
Commit b9b64468 authored by Reid Kleckner's avatar Reid Kleckner
Browse files

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
parent 325003be
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,6 @@ set(DEBUGINFO_TEST_DEPS ...@@ -13,9 +13,6 @@ set(DEBUGINFO_TEST_DEPS
not not
) )
# Indicate if this is an MSVC environment.
pythonize_bool(MSVC)
configure_lit_site_cfg( configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
......
...@@ -17,7 +17,7 @@ config.has_lld = lit.util.pythonize_bool("@DEBUGINFO_TESTS_HAS_LLD@") ...@@ -17,7 +17,7 @@ config.has_lld = lit.util.pythonize_bool("@DEBUGINFO_TESTS_HAS_LLD@")
config.host_triple = "@LLVM_HOST_TRIPLE@" config.host_triple = "@LLVM_HOST_TRIPLE@"
config.target_triple = "@TARGET_TRIPLE@" config.target_triple = "@TARGET_TRIPLE@"
config.host_arch = "@HOST_ARCH@" config.host_arch = "@HOST_ARCH@"
config.is_msvc = @MSVC_PYBOOL@ config.is_msvc = lit.util.pythonize_bool("@MSVC@")
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@" config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment