[lld] f7941d9 - [lit] Use correct variable name for libxml2
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 22:04:53 PDT 2020
Author: Petr Hosek
Date: 2020-09-09T22:04:25-07:00
New Revision: f7941d98091827b8d0b6fdabb731e38c99f44b13
URL: https://github.com/llvm/llvm-project/commit/f7941d98091827b8d0b6fdabb731e38c99f44b13
DIFF: https://github.com/llvm/llvm-project/commit/f7941d98091827b8d0b6fdabb731e38c99f44b13.diff
LOG: [lit] Use correct variable name for libxml2
This addresses an issue introduced in c4d7536136b3.
Added:
Modified:
lld/test/lit.cfg.py
Removed:
################################################################################
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py
index 037b9ed2d167..090a7c21fa78 100644
--- a/lld/test/lit.cfg.py
+++ b/lld/test/lit.cfg.py
@@ -88,7 +88,7 @@
# cvtres, which always accompanies it. Alternatively, check if we can use
# libxml2 to merge manifests.
if (lit.util.which('cvtres', config.environment['PATH']) or
- config.llvm_libxml2_enabled):
+ config.have_libxml2):
config.available_features.add('manifest_tool')
if config.have_libxml2:
More information about the llvm-commits
mailing list