Skip to content

Commit b11dad9

Browse files
committed
Rename supported_archs in restricted_archs for clarity
1 parent 624ad23 commit b11dad9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci/ci_common/bench-common.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"mount_modules": true
2121
},
2222
should_use_hwloc:: std.objectHasAll(self, "is_numa") && self.is_numa && std.length(std.find("bench", self.targets)) > 0,
23-
supported_archs:: null,
24-
is_arch_supported(arch):: if self.supported_archs == null then true else std.member(self.supported_archs, arch),
23+
restricted_archs:: null, # null means all architectures are supported, otherwise it must be a list of allowed archs as strings
24+
is_arch_supported(arch):: if self.restricted_archs == null then true else std.member(self.restricted_archs, arch),
2525
min_jdk_version:: null,
2626
max_jdk_version:: null,
2727
is_jdk_supported(jdk_version)::

compiler/ci/ci_common/benchmark-suites.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
bench_upload
269269
],
270270
timelimit: "7:00:00",
271-
supported_archs:: ["amd64"], # load testers only work on amd64 at the moment: GR-35619
271+
restricted_archs:: ["amd64"], # load testers only work on amd64 at the moment: GR-35619
272272
min_jdk_version:: 11,
273273
max_jdk_version:: null
274274
},

0 commit comments

Comments
 (0)