-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[libpsl,curl,vcpkg-ci-curl] Update suffix list, fix and test curl #38847
Conversation
You can use my fix that it will install the feature in windows static, also it need to modify that it will have pkgconfig for psl feature as you suggested. |
No conditional patches, thanks. |
How you want to implement your suggestion? |
I can close my PR, and you can fix this. Thank you for your work!. |
As I wrote in review comments: replace after installation. |
I look again on your comments: #38820 (comment) You didn't write about the implementation. I did what I know. If you would have tell me with |
#38820 (comment): "after the install step". |
As I say, I didn't understand you. |
Even port curl has the pattern: vcpkg/ports/curl/portfile.cmake Lines 134 to 139 in 261dd68
|
I didn't read all the curl port. As you notice, I also miss the PKGCONFIG per feature. once you told me about that, I learn about it. |
"features": [ | ||
"psl" | ||
], | ||
"platform": "!android & !uwp" |
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.
Can you try remove !uwp? As I test it, it also compile curl[psl].
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.
No. libpsl
has !uwp
.
And libpsl
can only be changed once the test is known to work, not before.
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.
ok, Thank you for your answer.
ports/curl/portfile.cmake
Outdated
@@ -54,7 +54,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | |||
) | |||
|
|||
set(OPTIONS "") | |||
if("idn2" IN_LIST FEATURES OR ("ldap" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_WINDOWS)) | |||
if(";${FEATURES};" MATCHES ";(idn2|gssapi|psl);" OR ("ldap" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_WINDOWS)) |
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.
Can I add this line to my refactor curl PR? then it will be less changes to this port.
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.
This code will remain in this PR: This port must enable PKGCONFIG for psl, and there is no reason to ignore gssapi.
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 don't want to remove the code from this PR. I ask permission to use your code on my PR. when it will be merge to master, you can rebase it back to you.
d41c008
to
6072a89
Compare
There are already lots of failures here and this got stuck on the networking change so I just cancelled the remaining runs |
Should wait for merge of #38921. |
@dg0yt Can you cherry pick the fixes for libpsl and curl and put them in other PR without the fixes is needed for vcpkg-ci-curl port. These are important fixes. |
No. These fixes are to be merged with vcpkg-ci-curl test coverage. Because it avoids regressions and poor UX. |
Cherry-picked from #38847: Fix processing of `INTERFACE_LINK_LIBS` when it contain `)` inside `"`, e.g. for `C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64/User32.Lib` created by `pkg_check_modules` from `-luser32` as found in icu pc files. Without the fix, the property is not processed at all, pulling release libs into debug builds.
And add a disambiguation to the filename.
Thanks for the updates and tests! |
No description provided.