Correctly enable the llvm-mt tests, now that build flags changed.

llvm-svn: 309134
This commit is contained in:
Eric Beckmann 2017-07-26 16:35:44 +00:00
parent b0183a7298
commit f9ffdbb382
2 changed files with 2 additions and 3 deletions

View File

@ -553,5 +553,5 @@ if config.have_libxar:
if config.enable_abi_breaking_checks == "1":
config.available_features.add('abi-breaking-checks')
if config.llvm_disable_libxml2 == "OFF" and config.have_libxml2 == "TRUE":
if config.llvm_libxml2_enabled == "1":
config.available_features.add('libxml2')

View File

@ -40,8 +40,7 @@ config.have_libxar = @HAVE_LIBXAR@
config.have_dia_sdk = @LLVM_ENABLE_DIA_SDK@
config.enable_ffi = @LLVM_ENABLE_FFI@
config.build_shared_libs = @BUILD_SHARED_LIBS@
config.llvm_disable_libxml2 = "@LLVM_DISABLE_LIBXML2@"
config.have_libxml2 = "@LIBXML2_FOUND@"
config.llvm_libxml2_enabled = "@LLVM_LIBXML2_ENABLED@"
# Support substitution of the tools_dir with user parameters. This is
# used when we can't determine the tool dir at configuration time.