Skip to content
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

[srpc] add port of sogou/srpc #16295

Merged
merged 8 commits into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions ports/srpc/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sogou/srpc
REF v0.9.3
SHA512 e64cfec279f833ad24b1942ef2b572fc4bd3bfc5f9d623cd5d25b3c869d2ff9b35250cc814e8aaeb919ebed0929c44407eb9abb2e6793cfdc967708210f5f7e3
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
dengjun101 marked this conversation as resolved.
Show resolved Hide resolved
DISABLE_PARALLEL_CONFIGURE
)

vcpkg_install_cmake()
dengjun101 marked this conversation as resolved.
Show resolved Hide resolved
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share)
dengjun101 marked this conversation as resolved.
Show resolved Hide resolved
vcpkg_copy_pdbs()
vcpkg_copy_tools(
TOOL_NAMES srpc_generator
AUTO_CLEAN
)

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/srpc RENAME copyright)
dengjun101 marked this conversation as resolved.
Show resolved Hide resolved
14 changes: 14 additions & 0 deletions ports/srpc/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "srpc",
"version": "0.9.3",
dengjun101 marked this conversation as resolved.
Show resolved Hide resolved
"description": "RPC based on Sogou C++ Workflow",
"homepage": "https://github.com/sogou/srpc",
"dependencies": [
"lz4",
"openssl",
"protobuf",
"snappy",
"workflow",
"zlib"
NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6108,6 +6108,10 @@
"baseline": "0.6.4",
"port-version": 0
},
"srpc": {
"baseline": "0.9.3",
"port-version": 0
},
"starlink-ast": {
"baseline": "9.2.4",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/s-/srpc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b63f7b688a88865e15d06a03ae383ea0bcb9d4ff",
"version": "0.9.3",
"port-version": 0
}
]
}