-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[ngtcp2] new port #26955
[ngtcp2] new port #26955
Conversation
2b39d71
to
2021fb6
Compare
2021fb6
to
cdae473
Compare
cdae473
to
e328db0
Compare
e328db0
to
091ec02
Compare
@Thomas1664 Any more review? |
No, that's all. |
@talregev The current port does not provide usage, if it is not
|
Then we need to wait for openssl 3.1. |
How is usage connected to openssl 3.1? Isn't this port usable at the moment? |
Sorry I got the label wrong. |
@talregev If we don't add usage, how will we use this port? :) |
"description": "ngtcp2 project is an effort to implement RFC9000 QUIC protocol.", | ||
"homepage": "https://github.com/ngtcp2/ngtcp2", | ||
"license": "MIT", | ||
"supports": "!(arm & 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.
there is a reason to don't support ARM and 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.
PS E:\NEW-PORT\vcpkg> ./vcpkg install ngtcp2:arm64-uwp
Computing installation plan...
The following packages will be built and installed:
ngtcp2[core]:arm64-uwp -> 0.9.0
Detecting compiler hash for triplet arm64-uwp...
Restored 0 package(s) from C:\Users\test\AppData\Local\vcpkg\archives in 670.4 us. Use --debug to see more details.
Installing 1/1 ngtcp2:arm64-uwp...
Building ngtcp2[core]:arm64-uwp...
warning: -- Using community triplet arm64-uwp. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: E:\NEW-PORT\vcpkg\triplets\community\arm64-uwp.cmake
-- Using cached ngtcp2-ngtcp2-v0.9.0.tar.gz.
-- Cleaning sources at E:/NEW-PORT/vcpkg/buildtrees/ngtcp2/src/v0.9.0-3f45192599.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/NEW-PORT/vcpkg/downloads/ngtcp2-ngtcp2-v0.9.0.tar.gz
-- Applying patch export-unofficical-target.patch
-- Using source at E:/NEW-PORT/vcpkg/buildtrees/ngtcp2/src/v0.9.0-3f45192599.clean
-- Found external ninja('1.10.2').
-- Configuring arm64-uwp
-- Building arm64-uwp-dbg
-- Building arm64-uwp-rel
-- Fixing pkgconfig file: E:/NEW-PORT/vcpkg/packages/ngtcp2_arm64-uwp/lib/pkgconfig/libngtcp2.pc
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst.
-- Using msys root at E:/NEW-PORT/vcpkg/downloads/tools/msys2/9a1ec3f33446b195
-- Fixing pkgconfig file: E:/NEW-PORT/vcpkg/packages/ngtcp2_arm64-uwp/debug/lib/pkgconfig/libngtcp2.pc
-- Installing: E:/NEW-PORT/vcpkg/packages/ngtcp2_arm64-uwp/share/ngtcp2/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: "C:\Users\test\AppData\Local\vcpkg\archives\f3\f38f92f0d703820d5235f9b77e5a55c75db812ff40f6382bdc38cec9e5c231d8.zip"
Elapsed time to handle ngtcp2:arm64-uwp: 50.21 s
Total elapsed time: 1.178 min
ngtcp2 provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(ngtcp2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::ngtcp2::ngtcp2)
PS E:\NEW-PORT\vcpkg>
I can build successfully locally, but arm-uwp
is community triplet
, we currently cannot guarantee that it can be used normally in subsequent updates.
7810a8f
Thank you! |
it is a patch (https://github.com/microsoft/vcpkg/blob/master/ports/ngtcp2/export-unofficical-target.patch) used by vcpkg package for export cmake configuration (microsoft/vcpkg#26955 (comment)
it is a patch (https://github.com/microsoft/vcpkg/blob/master/ports/ngtcp2/export-unofficical-target.patch) used by vcpkg package for export cmake configuration (microsoft/vcpkg#26955 (comment)
Describe the pull request
Add new port: ngtcp2 to compile curl with http3.
Which triplets are supported/not supported? Have you updated the CI baseline?
all
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/