Pass the ARM64 compiler workaround through Bazel startup options

This commit is contained in:
Benjamin Carlsson
2026-09-10 21:41:28 -07:00
parent 939a9a29b6
commit 001a65066e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -47,6 +47,9 @@ if [[ $# -eq 0 ]]; then
fi
bazel_startup_args=()
if [[ -n "${BAZEL_HOST_JVM_ARG:-}" ]]; then
bazel_startup_args+=("--host_jvm_args=${BAZEL_HOST_JVM_ARG}")
fi
if [[ -n "${BAZEL_OUTPUT_USER_ROOT:-}" ]]; then
bazel_startup_args+=("--output_user_root=${BAZEL_OUTPUT_USER_ROOT}")
fi
+1 -1
View File
@@ -221,7 +221,7 @@ jobs:
ARCH: ${{ matrix.arch }}
VOICE_ARCH: ${{ matrix.arch }}
# Avoid the observed Java 25 C1 crash in this method on Windows ARM64.
JAVA_TOOL_OPTIONS: ${{ matrix.arch == 'aarch64' && '-XX:CompileCommand=exclude,net.starlark.java.eval.BuiltinFunction::getPositionalOnlyArgumentVector' || '' }}
BAZEL_HOST_JVM_ARG: ${{ matrix.arch == 'aarch64' && '-XX:CompileCommand=exclude,net.starlark.java.eval.BuiltinFunction::getPositionalOnlyArgumentVector' || '' }}
BUILDBUDDY_API_KEY: ""
run: |
(cd codex-rs && cargo update --workspace)