conda-forge / conda-forge-ci-setup-feedstock

A conda-smithy repository for conda-forge-ci-setup.
BSD 3-Clause "New" or "Revised" License
13 stars 51 forks source link

osx SDKs confusion #227

Closed ngam closed 1 year ago

ngam commented 1 year ago

Solution to issue cannot be found in the documentation.

Issue

We need to update the MacOS SDKs download procedure. Copying @isuruf and @matthiasdiener.

ref https://github.com/conda-forge/pytorch-cpu-feedstock/pull/159

https://github.com/phracker/MacOSX-SDKs is out of date and default setting for OSX dir path is not sufficient: OSX_SDK_DIR="$(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs" goes to latest Xcode which may not have all the SDKs preinstalled by the default osx images, e.g., see https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md

Installed packages

n/a

Environment info

n/a