Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for non-x86_64 CPU architectures #393

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions neurolabi/shell/setup_neutu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@ fi
#echo $PATH
#which md5
#exit
ARCH=`uname -m`
cd $downloadDir
if [ ! -d $condaDir ]
then
if [ `uname` = 'Darwin' ]; then
curl -X GET https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh > Miniconda-latest-x86_64.sh
curl -X GET https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-${ARCH}.sh > Miniconda-latest-${ARCH}.sh
else
curl -X GET https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > Miniconda-latest-x86_64.sh
curl -X GET https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${ARCH}.sh > Miniconda-latest-${ARCH}.sh
fi
bash Miniconda-latest-x86_64.sh -b -p $condaDir
bash Miniconda-latest-${ARCH}.sh -b -p $condaDir
fi

cd $scriptDir
Expand Down