Skip to content

Commit

Permalink
Updated version of mac SDK installed for use with conda
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed May 22, 2024
1 parent dd734a9 commit 2d03801
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/setup_old_mac_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
conda info -a
# Install older Mac SDK so that conda llvm (7) can be used
# https://github.com/conda-forge/mpi-feedstock/issues/4
export MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:-10.9}
# export MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:-10.9}
export MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:-11.0}
export CONDA_BUILD_SYSROOT="$(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${MACOSX_DEPLOYMENT_TARGET}.sdk"
export SDKROOT=${CONDA_BUILD_SYSROOT}
echo "MACOSX_DEPLOYMENT_TARGET = ${MACOSX_DEPLOYMENT_TARGET}"
Expand Down

0 comments on commit 2d03801

Please sign in to comment.