File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ rm -rf cel_expr_python/*_test.py
203203
204204echo " Downloading bazelisk on host..."
205205curl -LO https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64
206- chmod +x bazelisk-linux-amd64
206+ curl -LO https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-arm64
207+ chmod +x bazelisk-linux-amd64 bazelisk-linux-arm64
207208
208209# Check if pyproject.toml exists before running sed
209210if [ -f pyproject.toml ]; then
Original file line number Diff line number Diff line change @@ -44,14 +44,16 @@ test-command = "python {project}/cel_basic_test.py"
4444build-verbosity = 1
4545
4646[tool .cibuildwheel .linux ]
47+ archs = [" x86_64" , " aarch64" ]
4748manylinux-x86_64-image = " manylinux_2_28"
49+ manylinux-aarch64-image = " manylinux_2_28"
4850container-engine = " docker; disable_host_mount: True"
4951# Google's internal Kokoro/RBE network uses a secure MITM proxy that resigns HTTPS
5052# traffic with an internal Google CA. Since the public manylinux container does not
5153# trust this CA, git fetches for external dependencies (like @cel-cpp) will fail
5254# with SSL certificate errors. We disable http.sslVerify inside the container to
5355# bypass this and allow Bazel to fetch SCM dependencies through the proxy.
54- before-all = " git config --global http.sslVerify false && echo 'Installing bazelisk' && cp {project}/bazelisk-linux-amd64 /usr/local/bin/bazel"
56+ before-all = " git config --global http.sslVerify false && echo 'Installing bazelisk' && if [ $(uname -m) = 'aarch64' ]; then cp {project}/bazelisk-linux-arm64 /usr/local/bin/bazel; else cp {project}/bazelisk-linux- amd64 /usr/local/bin/bazel; fi "
5557
5658[tool .cibuildwheel .macos ]
5759before-all = " echo 'Installing bazelisk'; brew install bazelisk"
You can’t perform that action at this time.
0 commit comments