[workflow] add port of sogou/workflow (#16140)

* add port workflow

* format manifest

* add versions

* add versions for all

* ignore arm_uwp and x64_uwp

* merge two portfile

* Revert "add versions for all"

This reverts commit 3806e22a7d49c80a614c08a4107ca2657001085e.

* delete unnecessary line

* update versions
This commit is contained in:
dengjunplusplus 2021-02-11 16:02:31 +08:00 committed by GitHub
parent 1e9ba55d5a
commit 8cf29a3c88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,30 @@
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sogou/workflow
REF eb0ef062cb4be64f3a152c740ed3d32e468c13fe
SHA512 0dafe5637c78bfa8d415ef54d9ac91f6a6f525a5876ec54c321a533d05b010c1f94829107808348bbf2ffe58914547930abf2fc4b0b07c2990a55c44bb9fd2e3
HEAD_REF windows
)
else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sogou/workflow
REF 7689fdf2137e7d34f0a9f02eae0fc878acf483a2
SHA512 721f7e1fa666031b552a58c9bd6525afb7113c23022016bfe0713053b535bdc972b6bc81baceb91929216fdc2ecb3150eb693b75fcf27ba991d5df11f88670cd
HEAD_REF master
)
endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/workflow RENAME copyright)

View File

@ -0,0 +1,9 @@
{
"name": "workflow",
"version-string": "0.9.3",
"description": "About C++ Parallel Computing and Asynchronous Networking Engine",
"homepage": "https://github.com/sogou/workflow",
"dependencies": [
"openssl"
]
}

View File

@ -1768,3 +1768,6 @@ unicorn:x64-windows-static-md=fail
v8:x64-windows-static-md=fail
yato:x64-windows-static-md=fail
zyre:x64-windows-static-md=fail
workflow:x64-uwp=fail
workflow:arm-uwp=fail

View File

@ -6208,6 +6208,10 @@
"baseline": "3.0",
"port-version": 0
},
"workflow": {
"baseline": "0.9.3",
"port-version": 0
},
"wpilib": {
"baseline": "2020.3.2",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "c6877f2c3abee4e46c75e409359a3e4e06d5de84",
"version-string": "0.9.3",
"port-version": 0
}
]
}