Skip to content

Conversation

@h-vetinari
Copy link
Member

Just a simple bump from what's already in the rc-channel.

Waiting for builds of conda-forge/llvmdev-feedstock#238

h-vetinari and others added 30 commits July 18, 2023 20:55
automerged PR by conda-forge/automerge-action
automerged PR by conda-forge/automerge-action
@conda-forge-webservices
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.

@h-vetinari h-vetinari mentioned this pull request Sep 19, 2023
3 tasks
@h-vetinari h-vetinari changed the title clangdev 17.0.0 clangdev 17.0.0l1 Sep 22, 2023
@h-vetinari h-vetinari changed the title clangdev 17.0.0l1 clangdev 17.0.1 Sep 22, 2023
@h-vetinari
Copy link
Member Author

@conda-forge/clangdev, this is ready for review, PTAL.

There aren't many relevant changes, biggest issue is dealing with old Macos now that new libcxx requires >10.13 (this will become evident once we have libcxx 17 in the same channel; now main)

Comment on lines 6 to 14
# clang 17 should remain compatible with libcxx 17 (which will be pulled in
# as a test dependency despite requiring `__osx>=10.13`). Since libcxx has
# removed workarounds for MacOS<10.13, clang will fail while including
# the C++ headers, because those rely on things not present in older SDKs.
MACOSX_SDK_VERSION: # [osx and x86_64]
- "10.13" # [osx and x86_64]
MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
- "10.13" # [osx and x86_64]

Copy link
Member

Choose a reason for hiding this comment

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

I don't understand why this is needed here. Can you explain?

Copy link
Member Author

Choose a reason for hiding this comment

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

The comment tries to lay out my understanding. It was necessary during the rc-phase once there was a libcxx 17, which would get pulled in by clang, which would then fail when including the C++ stdlib (because how libcxx has removed fallbacks for the old macos SDK).

In theory, the requirement __osx>=10.13 on libcxx should be enough to exclude it in this feedstock, but that's not how our CI seems to work. So I needed to bump to 10.13 here as well. I didn't distinguish between SDK and deployment target, because I thought it would be easier on the resolver if the compiler itself also has the requirement, rather than just the stdlib (which is why I had also added it to the compiler activation).

I'm fine to revert this for now if you prefer. We'll just have to re-fix this feedstock one way or another as soon as libcxx 17 is live.

Copy link
Member

Choose a reason for hiding this comment

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

Let's remove it for now. Let's deal with it when I see an actual error.

@h-vetinari h-vetinari merged commit eeaec38 into conda-forge:main Sep 27, 2023
@h-vetinari h-vetinari deleted the 17 branch September 27, 2023 01:55
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.

2 participants