diff options
author | serge-sans-paille <sguelton@redhat.com> | 2020-01-10 10:05:30 +0100 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2020-01-10 10:10:20 +0100 |
commit | 346de9b67228f42eb9b55fa3b426b5dedfdb1d40 (patch) | |
tree | d7c3e318b3af41b1d65bf2863bb4c795d382394b /llvm/test | |
parent | abfa27e4f04dd84774bcfe15783942e21be391a5 (diff) | |
download | bcm5719-llvm-346de9b67228f42eb9b55fa3b426b5dedfdb1d40.tar.gz bcm5719-llvm-346de9b67228f42eb9b55fa3b426b5dedfdb1d40.zip |
Fix several issues with compiler extensions
- Update documentation now that the move to monorepo has been made
- Do not tie compiler extension testing to LLVM_BUILD_EXAMPLES
- No need to specify LLVM libraries for plugins
- Add NO_MODULE option to match Polly specific requirements (i.e. building the
module *and* linking it statically)
- Issue a warning when building the compiler extension with
LLVM_BYE_LINK_INTO_TOOLS=ON, as it modifies the behavior of clang, which only
makes sense for testing purpose.
Still mark llvm/test/Feature/load_extension.ll as XFAIL because of a
ManagedStatic dependency that's going to be fixed in a seperate commit.
Differential Revision: https://reviews.llvm.org/D72327
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/lit.cfg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py index e785b220540..b57b87ad657 100644 --- a/llvm/test/lit.cfg.py +++ b/llvm/test/lit.cfg.py @@ -200,13 +200,13 @@ if config.has_plugins: if config.build_examples: config.available_features.add('examples') -if config.linked_bye_extension and config.build_examples: +if config.linked_bye_extension: config.substitutions.append(('%llvmcheckext', 'CHECK-EXT')) config.substitutions.append(('%loadbye', '')) else: config.substitutions.append(('%llvmcheckext', 'CHECK-NOEXT')) config.substitutions.append(('%loadbye', - '-load={}/libBye{}'.format(config.llvm_shlib_dir, + '-load={}/Bye{}'.format(config.llvm_shlib_dir, config.llvm_shlib_ext))) # Static libraries are not built if BUILD_SHARED_LIBS is ON. |