-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[rsasynccpp] Add new port (Rstein.AsyncCpp) #16380
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
a580ad9
[rsasynccpp] Added rsasynccpp port
renestein 0e68ad3
[rsasyncpp] Fix ci.baseline.txt, portfile.cmake, baseline.json, sasyn…
renestein 31fd9fc
[rsasynccpp] Added requested changes to vcpkg.json
renestein 29c9e2e
[rsasynccpp] Improve portfile.cmake, add supports
d50023c
[rsasynccpp] Fix version
renestein 29ea0d4
[rsasynccpp] Fixing x64-Windows-static triplet
renestein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| vcpkg_fail_port_install(ON_TARGET "Linux" "OSX" "ANDROID" "FREEBSD" "OPENBSD") | ||
| vcpkg_check_linkage(ONLY_STATIC_LIBRARY) | ||
|
|
||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO renestein/Rstein.AsyncCpp | ||
| REF 0.0.7 | ||
| SHA512 b4cc1c68b6fc7bb8b418457ba18b834769abec07e44305955214f8918cc57f85c4258a0521ea55388fab3ec9724488e506d2b114c765b804991c38bf33133c55 | ||
| HEAD_REF master | ||
| ) | ||
|
|
||
| if("lib-cl-win-legacy-await" IN_LIST FEATURES) | ||
| if (VCPKG_CRT_LINKAGE MATCHES "static") | ||
| set(RELEASE_CONFIGURATION "ReleaseMT_VSAWAIT") | ||
| set(DEBUG_CONFIGURATION "DebugMT_VSAWAIT") | ||
| else() | ||
| set(RELEASE_CONFIGURATION "Release_VSAWAIT") | ||
| set(DEBUG_CONFIGURATION "Debug_VSAWAIT") | ||
| endif() | ||
| else() | ||
| if (VCPKG_CRT_LINKAGE MATCHES "static") | ||
| set(RELEASE_CONFIGURATION "ReleaseMT") | ||
| set(DEBUG_CONFIGURATION "DebugMT") | ||
| else() | ||
| set(RELEASE_CONFIGURATION "Release") | ||
| set(DEBUG_CONFIGURATION "Debug") | ||
| endif() | ||
| endif() | ||
|
|
||
| if (TRIPLET_SYSTEM_ARCH MATCHES "x86") | ||
| set(MSBUILD_PLATFORM "x86") | ||
| else () | ||
| set(MSBUILD_PLATFORM ${TRIPLET_SYSTEM_ARCH}) | ||
| endif() | ||
|
|
||
|
|
||
| vcpkg_install_msbuild( | ||
| SOURCE_PATH ${SOURCE_PATH} | ||
| PROJECT_SUBPATH RStein.AsyncCppLib.sln | ||
| LICENSE_SUBPATH LICENSE | ||
| PLATFORM ${MSBUILD_PLATFORM} | ||
| DEBUG_CONFIGURATION ${DEBUG_CONFIGURATION} | ||
| RELEASE_CONFIGURATION ${RELEASE_CONFIGURATION} | ||
| ) | ||
|
|
||
| file(COPY "${SOURCE_PATH}/RStein.AsyncCpp/" | ||
| DESTINATION "${CURRENT_PACKAGES_DIR}/include/asynccpp" | ||
| FILES_MATCHING PATTERN "*.h") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "name": "rsasynccpp", | ||
| "version": "0.0.7", | ||
| "maintainers": "Rene Stein <rene@renestein.net>", | ||
| "description": "Task Parallel Library (TPL)/dataflow/actors/async primitives for C++ based on C++ 20 coroutines.", | ||
| "homepage": "https://github.com/renestein/Rstein.AsyncCpp", | ||
| "supports": "windows & !arm", | ||
| "features": { | ||
| "lib-cl-win-legacy-await": { | ||
| "description": "Legacy coroutines (/await switch, std::experimental namespace)." | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1363,6 +1363,10 @@ rocksdb:x64-uwp=fail | |
| rpclib:arm64-windows=fail | ||
| rpclib:arm-uwp=fail | ||
| rpclib:x64-uwp=fail | ||
| rsasynccpp:arm64-windows=fail | ||
| rsasynccpp:arm-uwp=fail | ||
| rsasynccpp:x64-linux=fail | ||
| rsasynccpp:x64-osx=fail | ||
|
Comment on lines
+1366
to
+1369
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should remove these codes... |
||
| rsocket:x64-windows=fail | ||
| rsocket:x64-windows-static=fail | ||
| rsocket:x64-windows-static-md=fail | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "80995d80f9e7e551f8305ce2cecb0a91bc9c457a", | ||
| "version": "0.0.7", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.