Skip to content

Commit 908d5af

Browse files
author
Mikael Stellio
committed
Added aarch64 architecture for miniconda
1 parent 798733b commit 908d5af

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

setup_miniconda.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ INSTALL_PREFIX=${PWD}
1313
USER_INSTALL=false
1414

1515
# here the conda version is fixed, the sha256 hash has to be set accordingly
16-
MINICONDA_URL=https://repo.anaconda.com/miniconda/Miniconda3-py310_23.11.0-1-Linux-x86_64.sh
17-
SHA256=6581658486be8e700d77e24eccafba586a0fbafafadcf73d35ab13eaee4b80b1
16+
ARCH="$(arch)"
17+
MINICONDA_URL=https://repo.anaconda.com/miniconda/Miniconda3-py310_23.11.0-1-Linux-${ARCH}.sh
18+
if [[ ${ARCH} == "x86_64" ]]; then
19+
SHA256=6581658486be8e700d77e24eccafba586a0fbafafadcf73d35ab13eaee4b80b1
20+
elif [[ ${ARCH} == aarch64 ]]; then
21+
SHA256=30b3f26fee441c5d70bd50ec06ea1acaa0e373ad30771165eada3f6bdf27766a
22+
fi
1823

1924

2025
# Eval command line options

0 commit comments

Comments
 (0)