-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
update to the cctools 1009.2 and ld64 907 #70
Conversation
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 ( I do have some suggestions for making it better though... For recipe:
|
7dd57a4
to
95d453f
Compare
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 ( |
Linux fails with
Let's try with https://github.com/conda-forge/libdispatch-feedstock then... |
Seems we have a problem in the libdispatch headers
That file isn't shipped by |
No idea why this isn't being picked up on osx:
We're definitely including |
a399b65
to
ec891e3
Compare
OK, I think upstream changed something (tpoechtrager/cctools-port@319ef50) and now expects builds of https://github.com/tpoechtrager/apple-libdispatch (which is a fork of https://github.com/apple/swift-corelibs-libdispatch) instead of the SDK... |
I'm hoping that #74 fixes the crashes seen in some recent Rust builds, but I kind of suspect that we'll need this PR to go in before those get solved. Is this stuck on any unsolved problems, or is it "just" that someone needs to sit down and deal with libdispatch and whatever other compiler errors that pop up? |
What makes this version more promising to fix things? There's also already yet another new upstream version.
AFAIU someone needs to package the Apple specific libdispatch first. |
@h-vetinari I'll admit that I was just going on intuition, but indeed the update to 907 includes updates to the code that's crashing: |
@conda-forge-admin rerender |
…nda-forge-pinning 2024.09.05.05.11.46
Oh hey, there's already a libdispatch-feedstock, based on the underlying apple/swift-corelibs-libdispatch repo. Is it too much to hope that it will work here out-of-the-box? edit: Ahhhh OK the feedstock version is already used here on Linux, but if I'm understanding correctly, macOS needs to start using a non-OS version too. edit 2: Looking at the diff between the tpoechtrager/apple-libdispatch and apple/swift-corelibs-libdispatch, I think the two should be compatible. There are no commits in |
…compat with MacOS libdispatch Building the Swift libdispatch for MacOS looks to be quite painful, so we want to avoid requiring it if possible.
I looked into building the external libdispatch on MacOS, and it looks like it would be quite painful. It seems to require private kernel headers that aren't part of our SDKs (specifically, Fortunately, with a one-liner I think that we can get the code compiling against the stock MacOS libdispatch again. My test build still errored out, but only at the testing phase. |
|
MacOS test errors are because:
Basically, the this package wants to have a runtime dependency on a separate |
I think it's fine to depend on Since llvm 18 we now also have versioned outputs (which are co-installable, but don't contain the unversioned binary); if desirable we can backport that. |
I have a variant of this PR using the newest version and one less patch: #75 |
There's something about our glibc sysroot headers that that seems to lead to issues if certain #includes occur in the wrong order. I have trouble understanding what the actual problem is, but we can make it go away by changing the order of some system #includes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, let's try this, thanks a lot @pkgw!
This PR caused problems with the linkage. See #77. |
Maybe someone can double check the patch. I initialize the IsOutputMappable instead of the previous slightly more complicated logic.