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.
This commit is contained in:
Mitch Phillips 2022-05-20 13:56:25 -07:00
parent acec07005e
commit bd62b70b51
1 changed files with 3 additions and 0 deletions

View File

@ -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")