Skip to content

Commit d1f8a2b

Browse files
committed
CI: Re-enable benchmarking on Mac Mini/RPi4/A55/BPi
Our benchmarking boxes are back online. This renables benchmarking in CI. Signed-off-by: Matthias J. Kannwischer <matthias@zerorisc.com>
1 parent ddbc21d commit d1f8a2b

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

.github/workflows/bench.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
fail-fast: true
2929
matrix:
3030
target:
31-
# - system: rpi4
32-
# name: Arm Cortex-A72 (Raspberry Pi 4) benchmarks
33-
# bench_pmu: PMU
34-
# archflags: -mcpu=cortex-a72 -DMLK_SYS_AARCH64_SLOW_BARREL_SHIFTER
35-
# cflags: "-flto -DMLK_FORCE_AARCH64"
36-
# ldflags: "-flto"
37-
# bench_extra_args: ""
38-
# nix_shell: bench
31+
- system: rpi4
32+
name: Arm Cortex-A72 (Raspberry Pi 4) benchmarks
33+
bench_pmu: PMU
34+
archflags: -mcpu=cortex-a72 -DMLK_SYS_AARCH64_SLOW_BARREL_SHIFTER
35+
cflags: "-flto -DMLK_FORCE_AARCH64"
36+
ldflags: "-flto"
37+
bench_extra_args: ""
38+
nix_shell: bench
3939
- system: rpi5
4040
name: Arm Cortex-A76 (Raspberry Pi 5) benchmarks
4141
bench_pmu: PERF
@@ -45,31 +45,31 @@ jobs:
4545
bench_extra_args: ""
4646
nix_shell: bench
4747
cross_prefix: ""
48-
# - system: a55
49-
# name: Arm Cortex-A55 (Snapdragon 888) benchmarks
50-
# bench_pmu: PERF
51-
# archflags: "-mcpu=cortex-a55 -march=armv8.2-a"
52-
# cflags: "-flto -DMLK_FORCE_AARCH64 -DMLK_CONFIG_FIPS202_BACKEND_FILE=\\\\\\\"fips202/native/aarch64/x1_scalar.h\\\\\\\""
53-
# ldflags: "-flto -static"
54-
# bench_extra_args: -w exec-on-a55
55-
# nix_shell: bench
56-
# - system: bpi
57-
# name: SpacemiT K1 8 (Banana Pi F3) benchmarks
58-
# bench_pmu: PERF
59-
# archflags: "-march=rv64imafdcv_zicsr_zifencei"
60-
# cflags: ""
61-
# ldflags: "-static"
62-
# bench_extra_args: -w exec-on-bpi
63-
# cross_prefix: riscv64-unknown-linux-gnu-
64-
# nix_shell: cross-riscv64
65-
# - system: m1-mac-mini
66-
# name: Mac Mini (M1, 2020) benchmarks
67-
# bench_pmu: MAC
68-
# archflags: "-mcpu=apple-m1 -march=armv8.4-a+sha3"
69-
# cflags: "-flto"
70-
# ldflags: "-flto"
71-
# bench_extra_args: "-r"
72-
# nix_shell: bench
48+
- system: a55
49+
name: Arm Cortex-A55 (Snapdragon 888) benchmarks
50+
bench_pmu: PERF
51+
archflags: "-mcpu=cortex-a55 -march=armv8.2-a"
52+
cflags: "-flto -DMLK_FORCE_AARCH64 -DMLK_CONFIG_FIPS202_BACKEND_FILE=\\\\\\\"fips202/native/aarch64/x1_scalar.h\\\\\\\""
53+
ldflags: "-flto -static"
54+
bench_extra_args: -w exec-on-a55
55+
nix_shell: bench
56+
- system: bpi
57+
name: SpacemiT K1 8 (Banana Pi F3) benchmarks
58+
bench_pmu: PERF
59+
archflags: "-march=rv64imafdcv_zicsr_zifencei"
60+
cflags: ""
61+
ldflags: "-static"
62+
bench_extra_args: -w exec-on-bpi
63+
cross_prefix: riscv64-unknown-linux-gnu-
64+
nix_shell: cross-riscv64
65+
- system: m1-mac-mini
66+
name: Mac Mini (M1, 2020) benchmarks
67+
bench_pmu: MAC
68+
archflags: "-mcpu=apple-m1 -march=armv8.4-a+sha3"
69+
cflags: "-flto"
70+
ldflags: "-flto"
71+
bench_extra_args: "-r"
72+
nix_shell: bench
7373
- system: pqcp-ppc64
7474
name: ppc64le (POWER10) benchmarks
7575
bench_pmu: PERF

0 commit comments

Comments
 (0)