diff --git a/common.sh b/common.sh index 656158c..9b0b450 100644 --- a/common.sh +++ b/common.sh @@ -1,3 +1,14 @@ -BIOCONDA_UTILS_TAG=v3.2.0 +BIOCONDA_UTILS_TAG=v3.3.1 MAMBAFORGE_VER=24.3.0-0 MAMBAFORGE_INSTALLATION_DIR="/opt/mambaforge" +platform=$(uname -s) +arch=$(uname -m) +if [[ "$platform" == "Darwin" ]]; then + if [[ "$arch" == "arm64" ]]; then + export MACOSX_DEPLOYMENT_TARGET=11 + export MACOSX_SDK_VERSION=11 + elif [[ "$arch" == 'x86_64' ]]; then + export MACOSX_DEPLOYMENT_TARGET=10.13 + export MACOSX_SDK_VERSION=10.13 + fi +fi