Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix macos sdk --- UNTESTED #201

Closed
wants to merge 2 commits into from
Closed

fix macos sdk --- UNTESTED #201

wants to merge 2 commits into from

Conversation

ngam
Copy link
Contributor

@ngam ngam commented May 28, 2022

fixes #200

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@ngam ngam requested a review from a team as a code owner May 28, 2022 22:43
@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@ngam
Copy link
Contributor Author

ngam commented May 28, 2022

@conda-forge-admin, please rerender

@ngam ngam changed the title fix macos sdk fix macos sdk --- UNTESTED May 28, 2022
@@ -1,5 +1,5 @@
{% set name = "conda-forge-ci-setup" %}
{% set version = "3.20.1" %}
{% set version = "3.21.0" %}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor or patch release??

curl -L -O https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX${MACOSX_SDK_VERSION}.sdk.tar.xz
mkdir -p "$(dirname "$CONDA_BUILD_SYSROOT")"
tar -xf MacOSX${MACOSX_SDK_VERSION}.sdk.tar.xz -C "$(dirname "$CONDA_BUILD_SYSROOT")"
if [[ ${MACOSX_SDK_VERSION} == 12.* ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this logic even work?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe. you can put it in quotes too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are only missing three of them btw, 12.0, 12.1, and 12.3

@github-actions
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-ci-setup-feedstock/actions/runs/2402456465.

@hmaarrfk
Copy link
Contributor

Are you able to upload this to your channel and then depend on your channel in addition to conda forges for some builds?

@ngam
Copy link
Contributor Author

ngam commented May 28, 2022

Are you able to upload this to your channel and then depend on your channel in addition to conda forges for some builds?

I should first test it like this, right? I will try to do that

@ngam
Copy link
Contributor Author

ngam commented May 28, 2022

It will be good to hear from people about this in general. The vmImages from Azure do provide a selection of SDKs, and they're (I think) are organized based on support. So macos-11 will get you a number of them (quite a few), and macos-12 will get you the three missing ones here, 12.* (macos-11 does have 12.0 and 12.1, but I need to double check)

The problem in my pytorch PR is that I am trying to do it hands-off and the build is getting confused* (i.e. told by macos-12 to set up sdk12.3 but told by conda-forge to set up sdk11.0, so the headers, etc are all over the place --- I could tidy it up there, but it would be good to pursue a unified strategy)

*confused because it is deciding certain cmake/make args based on the availability of sdks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macos sdks out of date
3 participants