forked from OSchip/llvm-project
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:
parent
acec07005e
commit
bd62b70b51
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue