-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sobjectizer] Update to v.5.7.3 (#22399)
* sobjectizer updated to v5.7.3. * so5extra updated to v1.5.0. * so5extra-1.5.0 added to baseline. * Fixes for old cmake commands. * Update baseline for sobjectizer/so5extra. * modernize cmake functions * update version * modernize cmake functions * update version * udpate version Co-authored-by: Jonliu1993 <[email protected]>
- Loading branch information
1 parent
d52bb6f
commit 03ca9b5
Showing
7 changed files
with
50 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,21 +1,20 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO stiffstream/so5extra | ||
REF 20f4c83ecde1509fbaf337dcf40f2f49dcf2690d # v.1.4.1.1 | ||
SHA512 a3df042b60afc4c57361b5b3c21f4b7c077f1b0ab7a4d33fda14cc915f10b22a42ef0acbb1c7c8b356ce31ee84f24391164120642faf96235549204c83b40294 | ||
REF 713ed4876135dfaa9b744b567f7c300eae09800d # v.1.5.0 | ||
SHA512 51b1e9521288c4cfbbf29aa9719b9da3ee0073e38af6fc275a5ec0a22b4bededf293b136aac0cf99a435b4411ccf0687556418fc25285f501a6f426f3a623c34 | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH}/dev/so_5_extra | ||
PREFER_NINJA | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}/dev/so_5_extra" | ||
OPTIONS | ||
-DSO5EXTRA_INSTALL=ON | ||
) | ||
|
||
vcpkg_install_cmake() | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/so5extra) | ||
vcpkg_cmake_install() | ||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/so5extra) | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug) | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug") | ||
|
||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/so5extra RENAME copyright) | ||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/so5extra" RENAME copyright) | ||
|
This file contains 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 |
---|---|---|
@@ -1,10 +1,18 @@ | ||
{ | ||
"name": "so5extra", | ||
"version": "1.4.1.1", | ||
"version": "1.5.0", | ||
"description": "A set of additional tools for SObjectizer framework.", | ||
"homepage": "https://github.com/Stiffstream/so5extra", | ||
"license": "BSD-3-Clause", | ||
"dependencies": [ | ||
"sobjectizer" | ||
"sobjectizer", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains 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 |
---|---|---|
@@ -1,26 +1,25 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO stiffstream/sobjectizer | ||
REF 972b5310b7a486dd4d4322ffb46f1c7e15c47ef6 # v.5.7.2.6 | ||
SHA512 0e5160981218d49beda3ed367ed34fa05c706104f68b6b06619f62a9b2a1ef92b08ddfd3ae14451e51e41bb7742789da4536289ec9d2d23dce13cdf6284108c9 | ||
REF 4c3bf6e9da4eae21fa5cce31dd464aabaec803a4 # v.5.7.3 | ||
SHA512 e5de6753d44c85c8077b133af1823bf892e1e7361659bbfc424b39c2f123e3b1c99b1292908e32034b538ef2410a41587c51723c8f8e1ffd85badd559f2a393c | ||
) | ||
|
||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" SOBJECTIZER_BUILD_STATIC ) | ||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" SOBJECTIZER_BUILD_SHARED) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH}/dev | ||
PREFER_NINJA | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}/dev" | ||
OPTIONS | ||
-DSOBJECTIZER_BUILD_STATIC=${SOBJECTIZER_BUILD_STATIC} | ||
-DSOBJECTIZER_BUILD_SHARED=${SOBJECTIZER_BUILD_SHARED} | ||
) | ||
|
||
vcpkg_install_cmake() | ||
vcpkg_cmake_install() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/sobjectizer) | ||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/sobjectizer) | ||
|
||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) | ||
|
This file contains 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 |
---|---|---|
@@ -1,7 +1,17 @@ | ||
{ | ||
"name": "sobjectizer", | ||
"version": "5.7.2.6", | ||
"version": "5.7.3", | ||
"description": "SObjectizer is a C++ in-process message dispatching framework with implementation of Actor Model, Publish-Subscribe Model and CSP-like channels.", | ||
"homepage": "https://github.com/Stiffstream/sobjectizer", | ||
"license": "BSD-3-Clause" | ||
"license": "BSD-3-Clause", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains 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 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 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