diff options
Diffstat (limited to 'llvm/test/lit.cfg.py')
-rw-r--r-- | llvm/test/lit.cfg.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py index 9099221c80c..ff6a5f39188 100644 --- a/llvm/test/lit.cfg.py +++ b/llvm/test/lit.cfg.py @@ -319,6 +319,9 @@ if not re.match(r'^x86_64.*-(windows-gnu|windows-msvc)', config.target_triple): if config.have_libxar: config.available_features.add('xar') +if config.enable_threads: + config.available_features.add('thread_support') + if config.llvm_libxml2_enabled == '1': config.available_features.add('libxml2') |