diff options
author | Dan Liew <dan@su-root.co.uk> | 2019-10-17 20:14:04 +0000 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2019-10-17 20:14:04 +0000 |
commit | dc748816e2aec8941d63f8ad07fb82aff6be8af7 (patch) | |
tree | 2479fc8e00a046953d264f2df7e243e699e3a939 | |
parent | 1ad655e255090620705eb4ce85d869a54d971912 (diff) | |
download | bcm5719-llvm-dc748816e2aec8941d63f8ad07fb82aff6be8af7.tar.gz bcm5719-llvm-dc748816e2aec8941d63f8ad07fb82aff6be8af7.zip |
[Builtins] Downgrade duplicate source file warning from a fatal error to a warning.
This is a follow up to r375150 to unbreak the `clang-ppc64be-linux` bot.
The commit caused running the tests to fail due to
```
llvm-lit:
/home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/projects/compiler-rt/test/builtins/Unit/lit.cfg.py:116:
fatal: builtins_source_features contains duplicates:
['librt_has_divtc3']
```
This commit should be reverted once the build system bug for powerpc is
fixed.
llvm-svn: 375162
-rw-r--r-- | compiler-rt/test/builtins/Unit/lit.cfg.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/test/builtins/Unit/lit.cfg.py b/compiler-rt/test/builtins/Unit/lit.cfg.py index 8fdb1a216ee..d2cd3305315 100644 --- a/compiler-rt/test/builtins/Unit/lit.cfg.py +++ b/compiler-rt/test/builtins/Unit/lit.cfg.py @@ -111,7 +111,9 @@ for builtin_source_feature in builtins_source_features: builtins_source_feature_duplicates.append(builtin_source_feature) if len(builtins_source_feature_duplicates) > 0: - lit_config.fatal( + # FIXME(dliew): There's a bug in the build system for powerpc where two definitions of the same + # function are present in the library. So just downgrade this to a warning until this is fixed. + lit_config.warning( 'builtins_source_features contains duplicates: {}'.format( builtins_source_feature_duplicates) ) |