Skip to content

Commit c6cbe77

Browse files
authored
Fix aarch64 build on 3.8 (#1593)
1 parent 8aa71bd commit c6cbe77

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

aarch64_linux/aarch64_ci_setup.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ source /opt/conda/etc/profile.d/conda.sh
2323
conda config --set ssl_verify False
2424
conda create -y -c conda-forge -n aarch64_env python=${DESIRED_PYTHON}
2525
conda activate aarch64_env
26-
conda install -y -c conda-forge numpy==1.26.0 pyyaml==6.0.1 patchelf==0.17.2 pygit2==1.13.2 openblas==0.3.24 ninja==1.11.1 scons==4.5.2
26+
27+
if [[ "$DESIRED_PYTHON" == "3.8" ]]; then
28+
NUMPY_VERSION="1.24.4"
29+
else
30+
NUMPY_VERSION="1.26.0"
31+
fi
32+
conda install -y -c conda-forge numpy==${NUMPY_VERSION} pyyaml==6.0.1 patchelf==0.17.2 pygit2==1.13.2 openblas==0.3.24 ninja==1.11.1 scons==4.5.2
33+
2734
python --version
2835
conda --version

0 commit comments

Comments
 (0)