[bde] Bump BDE port to 3.123.0 and fixup subpackages config (#33938)

* Bump bde to 3.123.0 & fixup subpackages config

* update baseline and version
This commit is contained in:
Ahsan 2023-09-26 08:01:50 +01:00 committed by GitHub
parent c67a3059bb
commit ade8060950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 8 deletions

View File

@ -11,8 +11,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH TOOLS_PATH
REPO "bloomberg/bde-tools"
REF "${BDE_TOOLS_VERSION}"
SHA512 3c39da8d1ea40459e36e11ada93cc2821ae1b16a831f93cccab463996394a400cc08bb1654642eae1aa5187f139d7fb80c4729e464051eee182133eb8a74158d
HEAD_REF main
SHA512 e59560810acfe562d85a13585d908decce17ec76c89bd61f43dac56cddfdf6c56269566da75730f8eda14b5fc046d2ebce959b24110a428e8eac0e358d2597c2
HEAD_REF 3.123.0.0
)
message(STATUS "Configure bde-tools-v${BDE_TOOLS_VERSION}")
@ -24,8 +24,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO "bloomberg/bde"
REF "${VERSION}"
SHA512 810b4a06a08739dcd990751dd543aa7dc58355f9d64a7c96ef0cf45c81501946434db42ad5bcf5d16110d5a463586b587ce09a446136e824298f39a8a871b490
HEAD_REF main
SHA512 f1c3c5ddec7ff1d301ca6f8ab00e6be42ab6a5fa3c889639e7797df74f68425d57d8b71978098331c9247820c7c831edeaf4427ae64c890d81f704343b1bb112
HEAD_REF 3.123.0.0
)
vcpkg_cmake_configure(
@ -49,12 +49,16 @@ vcpkg_cmake_build()
# Install release
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/)
list(APPEND SUBPACKAGES "ryu" "inteldfp" "pcre2" "s_baltst" "bsl" "bdl" "bal")
include(GNUInstallDirs) # needed for CMAKE_INSTALL_LIBDIR
foreach(subpackage IN LISTS SUBPACKAGES)
vcpkg_cmake_config_fixup(PACKAGE_NAME ${subpackage} CONFIG_PATH /${CMAKE_INSTALL_LIBDIR}/cmake/${subpackage} DO_NOT_DELETE_PARENT_CONFIG_PATH)
endforeach()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/${CMAKE_INSTALL_LIBDIR}/cmake" "${CURRENT_PACKAGES_DIR}/debug/${CMAKE_INSTALL_LIBDIR}/cmake")
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/bde
RENAME copyright
)
vcpkg_fixup_pkgconfig()

View File

@ -1,6 +1,6 @@
{
"name": "bde",
"version": "3.117.0.0",
"version": "3.123.0.0",
"description": "Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.",
"supports": "!windows & !arm & !android & !osx",
"dependencies": [

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "71df70f3716434e8069b394593ba8859b6556959",
"version": "3.123.0.0",
"port-version": 0
},
{
"git-tree": "a8fc4329574711907399309f06012a486d373c64",
"version": "3.117.0.0",

View File

@ -521,7 +521,7 @@
"port-version": 0
},
"bde": {
"baseline": "3.117.0.0",
"baseline": "3.123.0.0",
"port-version": 0
},
"bdwgc": {