From 2a26a1e8e4e2fefd4a3fbd6b90860ff1bd5fd34f Mon Sep 17 00:00:00 2001 From: "Alicia A. Evans" <108547992+aliciaaevans@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:47:23 -0400 Subject: [PATCH] fix: osx target/sdk version needs minor version (#57) `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 https://github.com/bioconda/bioconda-recipes/pull/46775 --- common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.sh b/common.sh index 9b0b450..c7b21f2 100644 --- a/common.sh +++ b/common.sh @@ -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