diff options
author | Robert Clausecker <fuz@fuz.su> | 2022-09-11 15:02:49 +0200 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2022-10-15 18:59:34 +0300 |
commit | 56f224add65df796bf57c49ea782e00470a56885 (patch) | |
tree | bc8a56f9726f2e7a5fd259f53889be9e5be3c97c /benchmarks/uica/files/patch-mbuild_mbuild_env.py | |
parent | math/py-cryptominisat: Update to 5.11.4 (diff) |
benchmarks/uica: fix build on riscv and in UTC-... time zones
- inform mbuild CPU type detection script about the
existence of this newfangled architecture.
- pass TZ=UTC to date(1) while generating distfile name
to avoid off by one error on the first day of the month
in time zones west of Greenwich.
PR: 267020
Submitted by: maintainer
MFH: 2022Q4
Diffstat (limited to 'benchmarks/uica/files/patch-mbuild_mbuild_env.py')
-rw-r--r-- | benchmarks/uica/files/patch-mbuild_mbuild_env.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/uica/files/patch-mbuild_mbuild_env.py b/benchmarks/uica/files/patch-mbuild_mbuild_env.py index 45cb5d02ebe1..2e48ab4c77ed 100644 --- a/benchmarks/uica/files/patch-mbuild_mbuild_env.py +++ b/benchmarks/uica/files/patch-mbuild_mbuild_env.py @@ -1,11 +1,13 @@ --- mbuild/mbuild/env.py.orig 2021-04-16 20:40:24 UTC +++ mbuild/mbuild/env.py -@@ -1237,6 +1237,8 @@ class env_t(object): +@@ -1237,6 +1237,10 @@ class env_t(object): return 'ia32' elif name in ['aarch64', 'arm64']: return 'aarch64' + elif name[0:3] == 'arm': + return 'arm' ++ elif name[0:5] == 'riscv': ++ return 'riscv' else: die("Unknown cpu " + name) |