Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-128354: UseLIBS consistently overLDFLAGS in library build checks#128359
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
erlend-aasland left a comment
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.
Great, thanks!
bedevere-bot commentedJan 3, 2025
🤖 New build scheduled with the buildbot fleet by@erlend-aasland for commita07b043 🤖 If you want to schedule another build, you need to add the🔨 test-with-buildbots label again. |
erlend-aasland commentedJan 3, 2025
IMO, the safest thing to do is to consistently use |
erlend-aasland commentedJan 3, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I remember having issues with |
zanieb commentedJan 3, 2025
That sounds good to me, though I think it's an independent change from this one. I'm just referring to the ordering when extending flags, e.g., |
erlend-aasland commentedJan 3, 2025
Yes, I agree. |
b75ed95 intopython:mainUh oh!
There was an error while loading.Please reload this page.
erlend-aasland commentedJan 3, 2025
corona10 commentedJan 4, 2025
Yeah I think it is fine to backport the patch!! |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
erlend-aasland commentedJan 4, 2025
Well, it does not apply cleanly; I don't think it is worth the effort to manually backport this, but if someone wants to take it on, feel free to do so :) |
… build checks (pythonGH-128359)(cherry picked from commitb75ed95)Co-authored-by: Zanie Blue <contact@zanie.dev>
GH-128465 is a backport of this pull request to the3.13 branch. |
… build checks (pythonGH-128359)(cherry picked from commitb75ed95)Co-authored-by: Zanie Blue <contact@zanie.dev>
GH-128466 is a backport of this pull request to the3.12 branch. |
Uh oh!
There was an error while loading.Please reload this page.
As noted in#128354, I audited all uses of
LIBSandLDFLAGSand adjusted checks using$<LIB>_LIBSto setLIBSinstead ofLDFLAGSand ensured we consistently ordered$LIBSbefore$<LIB>_LIBS. There are some other cases where a constant is added toLIBSthat I did not change here since it's a different pattern — we can consider those separately.I don't believe this needs a news entry, but defer to whatever the reviewer prefers.
I tested this locally on macOS and in a Linux container. It seems nice to get more test coverage too, perhaps via the build-bots?
In#95288, the ordering of
CFLAGSandCPPFLAGSwas fixed in a similar manner. I also noticed that some of these uses were introduced in#94802.