-
Notifications
You must be signed in to change notification settings - Fork 290
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
Don't let unsupported ports pull in dependencies #846
Conversation
This PR should remove a number of blocking "cascades", so the modified tool must be run in the vcpkg repo CI to identify build failures in then-unblocked ports. |
With #802 we get something similar (all features of boost-regex gets tested and boost-regex[icu] only gets build when needed) |
Possible, but I miss details of what that PR will do and how it is to be used. |
We could go a step further:
In this case we also should skip |
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.
Should the skips be shown in the output?
I don't understand this point. The skipping of building mapnik by means of |
Which skips? Do we need CI output for unsupported ports? |
Not necessary, but maybe it helps to understand what is happening. |
Just for note: This does not fix microsoft/vcpkg#23490, for explanation see #856 (comment) |
Actually it does fix it: microsoft/vcpkg#23490 doesn't discuss port qt, it is only about qtwebengine and its host effect. This is the CI command bug fixed by my PR: unsupported ports pull in dependencies. Port qt is a different story. If if claims to support x86 but unconditionally depends on qtwebengine, then it is a bug in this port (qt). I agree it would be good to provide better diagnostics for this case. But this is a different scope. Maybe no longer just |
I have done this in #802 by requiring |
That also causes |
Since #856 was merged I think this can be closed :) |
Only when the tool is released and activated in vcpkg ci. |
Turned on now that microsoft/vcpkg#29664 is merged :)
I'm confused, considering the change we merged from @autoantwort seems to be basically the same as your change plus extra stuff? |
II think the point here is that this PR existed before the other one. |
This PR was the initial work. The only official feedback was approval on Jan 11. |
Yes, this is great direction!
I viewed that change as effectively the same with a few PR comments fixed, and since it was also ready to go I just merged it there rather than try to get those changes reincorporated here. Moreover, the changes in the other PR were more easy for me to see as "correct" in that they just reuse the existing planner, while I needed additional help from folks who understand the dependency stuff better to totally land this. There would have not been much point in trying to preserve a git trace: that doesn't survive the squash anyway. I agree though that you should have gotten called out / more credit for the original author of the changes than you got. I just updated the release notes for that version of the tool to call out that this change was originally your idea.
Ah, I'm sorry. I didn't intend to convey "don't change this" with approval.
I see, in this case I signed up to deal with that fallout and I didn't think it would be worth bothering you about it. |
It is not so bad. Example: |
I would have had to add you manually anyway since I did not reused your code (I wrote my PR from scratch). I only adapted the |
When a port
mapnik
is unsupported onx64-uwp
, its dependency onboost-regex[icu]
must not take effect duringvcpkg ci --triplet=x64-uwp
because it will makeboost-regex
unbuildable onuwp
as long as icu is unsupported on this triplet.Background: https://github.com/microsoft/vcpkg/pull/28619/files#r1059405866