mirror of
https://github.com/openai/codex.git
synced 2026-10-20 00:18:49 +00:00
Pass the ARM64 compiler workaround through Bazel startup options
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user