aboutsummaryrefslogtreecommitdiff
path: root/lld/test/lit.site.cfg.py.in
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2020-07-24 15:47:38 -0700
committerPetr Hosek <phosek@google.com>2020-09-09 21:44:44 -0700
commitc4d7536136b331bada079b2afbb2bd09ad8296bf (patch)
tree5df20ef4a532479916ce3428a0c9a35b9c661c7e /lld/test/lit.site.cfg.py.in
parent52f0837778b6f3b742b36c22b7c608535a52097b (diff)
downloadllvm-c4d7536136b331bada079b2afbb2bd09ad8296bf.zip
llvm-c4d7536136b331bada079b2afbb2bd09ad8296bf.tar.gz
llvm-c4d7536136b331bada079b2afbb2bd09ad8296bf.tar.bz2
[CMake] Simplify CMake handling for libxml2
This matches the changes made to handling of zlib done in 10b1b4a where we rely on find_package and the imported target rather than manually appending the library and include paths. The use of LLVM_LIBXML2_ENABLED has been replaced by LLVM_ENABLE_LIBXML2 thus reducing the number of variables. Differential Revision: https://reviews.llvm.org/D84563
Diffstat (limited to 'lld/test/lit.site.cfg.py.in')
-rw-r--r--lld/test/lit.site.cfg.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/lit.site.cfg.py.in b/lld/test/lit.site.cfg.py.in
index 3d4c51f..bbc2c89 100644
--- a/lld/test/lit.site.cfg.py.in
+++ b/lld/test/lit.site.cfg.py.in
@@ -7,7 +7,6 @@ config.llvm_src_root = "@LLVM_SOURCE_DIR@"
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
-config.llvm_libxml2_enabled = @LLVM_LIBXML2_ENABLED@
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
config.lld_obj_root = "@LLD_BINARY_DIR@"
config.lld_libs_dir = "@LLVM_LIBRARY_OUTPUT_INTDIR@"
@@ -15,6 +14,7 @@ config.lld_tools_dir = "@LLVM_RUNTIME_OUTPUT_INTDIR@"
config.target_triple = "@TARGET_TRIPLE@"
config.python_executable = "@Python3_EXECUTABLE@"
config.have_zlib = @LLVM_ENABLE_ZLIB@
+config.have_libxml2 = @LLVM_ENABLE_LIBXML2@
config.sizeof_void_p = @CMAKE_SIZEOF_VOID_P@
# Support substitution of the tools and libs dirs with user parameters. This is