From bd62b70b515bcbded99ea2debe1d1f54acbb38cd Mon Sep 17 00:00:00 2001 From: Mitch Phillips <31459023+hctim@users.noreply.github.com> Date: Fri, 20 May 2022 13:56:25 -0700 Subject: [PATCH] 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. --- compiler-rt/test/lit.common.cfg.py | 3 +++ 1 file changed, 3 insertions(+) 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 @@ if platform.system() == 'Windows' and '-win' in config.target_triple: 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")