-
Notifications
You must be signed in to change notification settings - Fork 280
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
[postbuildlint] Add checks to ensure that the pkgconfig files are at the right location #171
Conversation
Hmm short summary what is expected and what would error? |
Here is the error log of what the output when I try to install the broken yaml-cpp port:
|
bfa575b
to
698ee21
Compare
The question was more like: Which paths are allowed and which paths would error for Also |
for cmake: no
Yeah qt5 installs to
Maybe require them at |
Maybe only error when there is a |
The point is not all cmake files need to be fixed. The reason cmake files needs fixing is due to naked
breaks single config builds. |
Ok will remove the cmake check. Maybe add a policy that allows "unusual" *.pc file locations? Because afaik currently it is an error with a probability of 90% . |
698ee21
to
ad24655
Compare
Are there any current ports that install .pc files in share? We support installing pkgconfig files in share, in vcpkg_fixup_pkgconfig, so this would be a change. |
#9966 had one. In general pc files in share could be installed by any header only library which just needs the include path. |
Then probably we want to allow .pc files in share/pkg-config as well. |
Ok, we allow files in |
@autoantwort or |
ad24655
to
72b09e5
Compare
Done. Now also searches for *.pc files instead of |
We can now also remove the Policy |
fc357e1
to
4e38cb0
Compare
…the right location
4e38cb0
to
d2fece5
Compare
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.
Requesting changes only to the code comment, the lambda suggestion is an optional nitpick.
Co-authored-by: Billy O'Neal <[email protected]>
Thanks for the new post-build check. Going to be "fun" running this on the whole tree.... :D |
I think in the future before merging things like this we need to run against the full tree because blocking shipping a new tool for weeks while we deal with the fallout isn't really OK :/ |
Yeah that's true. |
These checks would have stopped the regression introduced by microsoft/vcpkg#19272 reported in microsoft/vcpkg#19701 (and fixed in microsoft/vcpkg#19703)