Use the correct conda os arch for mac x64

This commit is contained in:
cmdr2 2022-10-14 10:23:55 +05:30
parent 11dc3ca1f8
commit 9a3c7800a7

View File

@ -78,6 +78,7 @@ CONDA_BASEPATH=$(conda info --base)
source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains about 'shell not initialized' (needed when running in a script)
if [ "$OS_NAME" == "mac" ]; then
if [ "$OS_ARCH" == "x64" ]; then OS_ARCH="64"; fi
PIP_EXISTS_ACTION=w CONDA_SUBDIR=osx-${OS_ARCH} conda env create -f environment-mac.yml
else
conda env create -f environment.yml