[compiler-rt] bd62b70 - Add 'ppc' as a target (for both 32- and 64-bit ppc).
Mitch Phillips via llvm-commits
llvm-commits at lists.llvm.org
Fri May 20 13:57:15 PDT 2022
Author: Mitch Phillips
Date: 2022-05-20T13:56:25-07:00
New Revision: bd62b70b515bcbded99ea2debe1d1f54acbb38cd
URL: https://github.com/llvm/llvm-project/commit/bd62b70b515bcbded99ea2debe1d1f54acbb38cd
DIFF: https://github.com/llvm/llvm-project/commit/bd62b70b515bcbded99ea2debe1d1f54acbb38cd.diff
LOG: Add 'ppc' as a target (for both 32- and 64-bit ppc).
Needed for a TSan test that won't pass on PPC. Relevant information is
in https://reviews.llvm.org/D110552.
Added:
Modified:
compiler-rt/test/lit.common.cfg.py
Removed:
################################################################################
diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index 00a3adafc01c..5922fca2fa92 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -207,6 +207,9 @@ def get_path_from_clang(args, allow_failure):
config.available_features.add(config.host_os.lower())
+if config.target_triple.startswith("ppc"):
+ config.available_features.add("ppc")
+
if re.match(r'^x86_64.*-linux', config.target_triple):
config.available_features.add("x86_64-linux")
More information about the llvm-commits
mailing list