benchmarks/uica: add support for powerpc*

This commit is contained in:
Piotr Kubaj 2022-10-17 01:30:23 +02:00
parent d9eee391af
commit 391630db44

View file

@ -1,6 +1,6 @@
--- mbuild/mbuild/env.py.orig 2021-04-16 20:40:24 UTC
+++ mbuild/mbuild/env.py
@@ -1237,6 +1237,10 @@ class env_t(object):
@@ -1237,6 +1237,12 @@ class env_t(object):
return 'ia32'
elif name in ['aarch64', 'arm64']:
return 'aarch64'
@ -8,6 +8,8 @@
+ return 'arm'
+ elif name[0:5] == 'riscv':
+ return 'riscv'
+ elif name[0:7] == 'powerpc':
+ return 'powerpc'
else:
die("Unknown cpu " + name)