From 705f2daa61b2cab2a3cb4885ac206bb775232af5 Mon Sep 17 00:00:00 2001 From: Jacob Oursland Date: Thu, 24 Jul 2025 15:32:12 -0700 Subject: [PATCH] CI: set minimum macOS SDK to 10.13. --- package/rattler-build/conda_build_config.yaml | 6 ++++-- package/rattler-build/recipe.yaml | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/rattler-build/conda_build_config.yaml b/package/rattler-build/conda_build_config.yaml index fbebc3758e..460cb041ef 100644 --- a/package/rattler-build/conda_build_config.yaml +++ b/package/rattler-build/conda_build_config.yaml @@ -3,5 +3,7 @@ c_compiler: # [win] cxx_compiler: # [win] - vs2022 # [win] -MACOSX_DEPLOYMENT_TARGET: # [osx] - - '10.13' # [osx] +c_stdlib_version: # [osx and x86_64] + - "10.13" # [osx and x86_64] +MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64] + - "10.13" # [osx and x86_64] diff --git a/package/rattler-build/recipe.yaml b/package/rattler-build/recipe.yaml index c16947201c..c2efc46e16 100644 --- a/package/rattler-build/recipe.yaml +++ b/package/rattler-build/recipe.yaml @@ -88,6 +88,10 @@ requirements: - xorg-x11-server-xvfb-cos7-aarch64 - xorg-xproto + - if: osx and x86_64 + then: + - ${{ stdlib('c') }} + - if: build_platform != target_platform then: - cross-python_${{ target_platform }}