Skip to content

Commit 6eab0a7

Browse files
authored
[mongo-cxx-driver] update to 4.0.0 (#42805)
1 parent faa3c0a commit 6eab0a7

File tree

6 files changed

+9
-44
lines changed

6 files changed

+9
-44
lines changed

ports/mongo-cxx-driver/portfile.cmake

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,24 @@ vcpkg_from_github(
22
OUT_SOURCE_PATH SOURCE_PATH
33
REPO mongodb/mongo-cxx-driver
44
REF "r${VERSION}"
5-
SHA512 620112ab91ad5fc0eb900b4b271cf40bac92ec728f0da2053dd42a80cc444910c3784f83c638b5aa1323cfa57308622b034b5c9275c4d2c92cbbbd7bb3eb1b08
5+
SHA512 7b6564cb5087b03886f3c99aa5da9e87a898b1bd1098393a7668e39d673d6203a39f7fa95e5bef995f5e53c18654ef1806823cf643a994a8c19a1df75b9eb306
66
HEAD_REF master
77
PATCHES
88
fix-dependencies.patch
99
)
1010

1111
file(WRITE "${SOURCE_PATH}/build/VERSION_CURRENT" "${VERSION}")
1212

13-
# This port offered C++17 ABI alternative via features.
14-
# This was reduced to boost only.
15-
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
16-
FEATURES
17-
boost BSONCXX_POLY_USE_BOOST
18-
INVERTED_FEATURES
19-
boost BSONCXX_POLY_USE_STD
20-
boost CMAKE_DISABLE_FIND_PACKAGE_Boost
21-
)
22-
2313
vcpkg_cmake_configure(
2414
SOURCE_PATH "${SOURCE_PATH}"
2515
OPTIONS
26-
${FEATURE_OPTIONS}
2716
"-DCMAKE_PROJECT_MONGO_CXX_DRIVER_INCLUDE=${CMAKE_CURRENT_LIST_DIR}/cmake-project-include.cmake"
2817
-DBSONCXX_HEADER_INSTALL_DIR=include
2918
-DENABLE_TESTS=OFF
3019
-DENABLE_UNINSTALL=OFF
3120
-DMONGOCXX_HEADER_INSTALL_DIR=include
3221
-DNEED_DOWNLOAD_C_DRIVER=OFF
3322
MAYBE_UNUSED_VARIABLES
34-
CMAKE_DISABLE_FIND_PACKAGE_Boost
3523
BSONCXX_HEADER_INSTALL_DIR
3624
MONGOCXX_HEADER_INSTALL_DIR
3725
)

ports/mongo-cxx-driver/vcpkg.json

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongo-cxx-driver",
3-
"version": "3.11.0",
3+
"version": "4.0.0",
44
"description": "MongoDB C++ Driver.",
55
"homepage": "https://github.com/mongodb/mongo-cxx-driver",
66
"license": "Apache-2.0",
@@ -15,18 +15,5 @@
1515
"name": "vcpkg-cmake-config",
1616
"host": true
1717
}
18-
],
19-
"features": {
20-
"boost": {
21-
"description": [
22-
"Enables the Boost C++17 polyfill for bsoncxx.",
23-
"Warning: This feature changes the ABI."
24-
],
25-
"dependencies": [
26-
"boost-optional",
27-
"boost-smart-ptr",
28-
"boost-utility"
29-
]
30-
}
31-
}
18+
]
3219
}

scripts/test_ports/vcpkg-ci-mongo-cxx-driver/portfile.cmake

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/test_ports/vcpkg-ci-mongo-cxx-driver/vcpkg.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6045,7 +6045,7 @@
60456045
"port-version": 1
60466046
},
60476047
"mongo-cxx-driver": {
6048-
"baseline": "3.11.0",
6048+
"baseline": "4.0.0",
60496049
"port-version": 0
60506050
},
60516051
"mongoose": {

versions/m-/mongo-cxx-driver.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "6189b50c8af944ed1231b6e30672b49a1a988c85",
5+
"version": "4.0.0",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "7fb58e0dc8d80bb5e013c724129133d335d9ea8a",
510
"version": "3.11.0",

0 commit comments

Comments
 (0)