Skip to content

Commit d716b33

Browse files
committed
💚 Fix aarch64 OOMs on maturin wheel builds
References: - Background: rust-lang/cargo#10583 - Solution: Qiskit/rustworkx#713
1 parent 69bbeed commit d716b33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ jobs:
180180
CIBW_BEFORE_ALL_LINUX: >
181181
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y &&
182182
yum install -y openssl-devel || apk add openssl-dev
183-
CIBW_ENVIRONMENT_LINUX: 'PATH="$PATH:$HOME/.cargo/bin"'
183+
CIBW_ENVIRONMENT_LINUX: >
184+
PATH="$PATH:$HOME/.cargo/bin"
185+
CARGO_NET_GIT_FETCH_WITH_CLI="true"
186+
184187
# On a Linux Intel runner with qemu installed,
185188
# build 64-bit Intel and ARM wheels
186189
CIBW_ARCHS_LINUX: ${{ matrix.cibw_archs_linux }}

0 commit comments

Comments
 (0)