[rsocket] Remove keyword supports (#21911)

* [rsocket] Remove keyword supports

* version

* clean up baseline
This commit is contained in:
Jack·Boos·Yu 2021-12-10 08:59:30 +08:00 committed by GitHub
parent de0afd063a
commit 3887aff5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 25 deletions

View File

@ -1,6 +1,5 @@
# yarpl only support static build in Windows
if (VCPKG_TARGET_IS_WINDOWS)
vcpkg_fail_port_install(ON_ARCH "x64")
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
@ -15,30 +14,29 @@ vcpkg_from_github(
fix-find-dependencies.patch
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLES=OFF
-DBUILD_TESTS=OFF
-DBUILD_BENCHMARKS=OFF
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/include/yarpl/perf
${CURRENT_PACKAGES_DIR}/include/yarpl/cmake
${CURRENT_PACKAGES_DIR}/include/yarpl/test
${CURRENT_PACKAGES_DIR}/include/rsocket/examples
${CURRENT_PACKAGES_DIR}/include/rsocket/test
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_cmake_config_fixup(PACKAGE_NAME yarpl CONFIG_PATH lib/cmake/yarpl DO_NOT_DELETE_PARENT_CONFIG_PATH)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/rsocket)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/include/yarpl/perf"
"${CURRENT_PACKAGES_DIR}/include/yarpl/cmake"
"${CURRENT_PACKAGES_DIR}/include/yarpl/test"
"${CURRENT_PACKAGES_DIR}/include/rsocket/examples"
"${CURRENT_PACKAGES_DIR}/include/rsocket/test"
)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,10 +1,9 @@
{
"name": "rsocket",
"version-string": "2020.05.04.00",
"port-version": 2,
"port-version": 3,
"description": "C++ implementation of RSocket http://rsocket.io",
"homepage": "https://github.com/rsocket/rsocket-cpp",
"supports": "!(windows & x64)",
"dependencies": [
"boost-context",
"boost-filesystem",
@ -18,6 +17,14 @@
"gflags",
"glog",
"openssl",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
]
}

View File

@ -1300,9 +1300,6 @@ rsasynccpp:x64-osx=fail
rsm-binary-io:x64-linux=fail
# Requires g++10 but CI compiler only has g++9
rsm-bsa:x64-linux=fail
rsocket:x64-windows=fail
rsocket:x64-windows-static=fail
rsocket:x64-windows-static-md=fail
rtlsdr:x64-uwp=fail
rtlsdr:arm64-windows=fail
rtlsdr:arm-uwp=fail

View File

@ -6074,7 +6074,7 @@
},
"rsocket": {
"baseline": "2020.05.04.00",
"port-version": 2
"port-version": 3
},
"rtabmap": {
"baseline": "0.20.13",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "79beeb5c846c3ecdb386e7b3445adf1ac42314df",
"version-string": "2020.05.04.00",
"port-version": 3
},
{
"git-tree": "c7ad735194f400692ba373c493c23778cbfe2c79",
"version-string": "2020.05.04.00",