Skip to content

Commit a8cf74e

Browse files
committed
Override BUILDKITE_PLUGIN_JULIA_ARCH with the given arch.
This should never be wrong (even if it is unnecessary to override in most cases) and will help reduce issues with the `armv7l` buildbots which are actually `aarch64` processors, but are running `armv7l` rootfs images, and thus cannot run `aarch64` programs.
1 parent 8e71aba commit a8cf74e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linux-sandbox.jl/common.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ function Sandbox.SandboxConfig(brg::BuildkiteRunnerGroup;
267267
env_maps = Dict(
268268
"BUILDKITE_PLUGIN_JULIA_CACHE_DIR" => "/cache/julia-buildkite-plugin",
269269
"BUILDKITE_AGENT_TOKEN" => String(chomp(String(read(agent_token_path)))),
270+
"BUILDKITE_PLUGIN_JULIA_ARCH" => brg.tags["arch"],
270271
"HOME" => "/root",
271272

272273
# For anyone who wants to do nested sandboxing, tell them to store

0 commit comments

Comments
 (0)