forked from OSchip/llvm-project
Add a cmake option for LIT configuration variant.
llvm-svn: 226185
This commit is contained in:
parent
504157f1ae
commit
b3db76622b
|
@ -23,6 +23,8 @@ if(PYTHONINTERP_FOUND)
|
|||
set(LIT_ARGS "${LLVM_LIT_ARGS}")
|
||||
separate_arguments(LIT_ARGS)
|
||||
|
||||
option(LIBCXX_LIT_VARIANT "Configuration variant to use for LIT." "libcxx")
|
||||
|
||||
pythonize_bool(LIBCXX_ENABLE_EXCEPTIONS)
|
||||
pythonize_bool(LIBCXX_ENABLE_RTTI)
|
||||
pythonize_bool(LIBCXX_ENABLE_SHARED)
|
||||
|
|
|
@ -13,6 +13,7 @@ config.enable_monotonic_clock = "@LIBCXX_ENABLE_MONOTONIC_CLOCK@"
|
|||
config.cxx_abi = "@LIBCXX_CXX_ABI_LIBNAME@"
|
||||
config.use_sanitizer = "@LLVM_USE_SANITIZER@"
|
||||
config.abi_library_path = "@LIBCXX_CXX_ABI_LIBRARY_PATH@"
|
||||
config.configuration_variant = "@LIBCXX_LIT_VARIANT@"
|
||||
|
||||
# Let the main config do the real work.
|
||||
lit_config.load_config(config, "@LIBCXX_SOURCE_DIR@/test/lit.cfg")
|
||||
|
|
Loading…
Reference in New Issue