Skip to content

Commit

Permalink
fix: osx target/sdk version needs minor version (#57)
Browse files Browse the repository at this point in the history
`run_conda_forge_build_setup` from
https://github.com/conda-forge/conda-forge-ci-setup-feedstock/blob/main/.scripts/run_osx_build.sh
fails to download the SDK when set to `11` instead of `11.0`.

Needed for bioconda/bioconda-recipes#46775
  • Loading branch information
aliciaaevans authored Jul 9, 2024
1 parent 1da537f commit 2a26a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ platform=$(uname -s)
arch=$(uname -m)
if [[ "$platform" == "Darwin" ]]; then
if [[ "$arch" == "arm64" ]]; then
export MACOSX_DEPLOYMENT_TARGET=11
export MACOSX_SDK_VERSION=11
export MACOSX_DEPLOYMENT_TARGET=11.0
export MACOSX_SDK_VERSION=11.0
elif [[ "$arch" == 'x86_64' ]]; then
export MACOSX_DEPLOYMENT_TARGET=10.13
export MACOSX_SDK_VERSION=10.13
Expand Down

0 comments on commit 2a26a1e

Please sign in to comment.