-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Follow proposal to fix cross #13
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 ( |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2023.05.08.17.24.41
@conda-forge-admin, please rerender |
…nda-forge-pinning 2023.05.08.17.24.41
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.
I think this is a step in the right direction. We have a few more things to iron out for cross compilation, but I think this is an improvement over the current package and would allow us to parallelize some work on other packages that can now use (and thus test) this package more fully.
Note: I was able to build cuda-python
with this PR locally. However, it seems my most recent test commit builds without these changes, too.
This is completely in the wrong direction. This does not follow the proposal at all. |
Could you please add suggestions in the PR diff? Think this will help us to have a more constructive conversation about what we would like to do here |
I've added a detailed description in #12 |
And devs here have tried to incorporate what they understood from that discussion into this PR Would suggest that if there are changes desired in this PR, that they are proposed via suggestions in the diff. That should hopefully help us converge on a reasonable solution |
Can you explain what's hard to understand about the top comment in #12? |
Think most folks found it easier to have a discussion about code changes in a PR where there is an ability to see a diff and discuss any finer points that need fixing in the relevant context for those changes. Does this seem like a reasonable way for us to have this discussion? Alex has even seeded some discussion above based on points he was unsure of. Do you have thoughts on any of those? Are there any other points in the diff that would benefit from further discussion? If so, could you please point them out? |
Not really. The issue seems like the best way to have a discussion. For eg: I don't see any |
This renaming isn't clear to me. The contents of
|
Would you mind looking at the package structure for the gcc/g++ compilers in |
Co-authored-by: Bradley Dice <bdice@bradleydice.com>
Co-authored-by: adibbley <103537006+adibbley@users.noreply.github.com>
Expand testing to include most of CMake's cuda tests
Wow. That's over-engineering if I ever saw one. |
It would be nice if it wasn't needed and we could rely on Jinja. However it doesn't seem like conda-build parses that correctly. We can raise an issue about it |
Why not use Alex's original code? Just |
Open to that. So just hard-coding it in Is there a reason that change was dropped? Edit: Though this will present a challenge later as we will want to do different things for different architectures in terms of minimum versions. So there will be a few more lines in any event |
the sysroot has a run-export, so nothing is required in run.
Why not cross that bridge when we get to it? |
We are trying to ensure only compatible versions of
The point is that more lines will still be needed in this alternative proposal. IOW the simplification is not much simpler |
I've tried using just There is a difference in the build log, using John's suggestion I see:
There is no sysroot entry here when only using |
I understand that, hence I didn't comment further about the already-mentioned
What else would be needed? |
Different versions may be needed for different architectures. Think the 2 proposals simply come down to where those live |
My point (resp. opinion) is: "may" -> not at the moment -> cross that bridge when we get to it |
Think we may be talking past each other Some fix is needed for the Am just trying to point out the 2 proposals are not all that different (the architecture version point is just why that is the case; not a thing that requires substantial effort) Anyways would suggest we return to evaluating those 2 proposals so we can select one and move to the next item |
I thought that's what we are doing. Unless I'm misunderstand something yet again, I'm in favour of the proposal that's (closest to) You said you were open to that, I just responded (to your question) that nothing is needed in |
Updated to only have |
You also need |
Co-authored-by: Isuru Fernando <isuruf@gmail.com>
Co-authored-by: jakirkham <jakirkham@gmail.com>
@conda-forge-admin, please rerender |
…nda-forge-pinning 2023.05.24.18.03.31
Hi! This is the friendly conda-forge automerge bot! I considered the following status checks when analyzing this PR:
Thus the PR was passing and merged! Have a great day! |
Update to proposed layout for cross support. For reference the resulting packaging contents:
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)Fixes #12
Closes #11