mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 03:09:00 +08:00
[vcpkg baseline][mongo-c-driver] Fix the race condition during CMake configure (#36099)
* [vcpkg baseline][mongo-c-driver] Fix the race condition during CMake configure * update version * update fix * update version
This commit is contained in:
parent
02286a84c7
commit
e6a1dc4f53
@ -1,7 +1,4 @@
|
|||||||
# This port needs to be updated at the same time as libbson
|
# This port needs to be updated at the same time as libbson
|
||||||
|
|
||||||
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
|
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO mongodb/mongo-c-driver
|
REPO mongodb/mongo-c-driver
|
||||||
@ -45,6 +42,7 @@ endif()
|
|||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
SOURCE_PATH "${SOURCE_PATH}"
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
|
DISABLE_PARALLEL_CONFIGURE
|
||||||
OPTIONS
|
OPTIONS
|
||||||
${OPTIONS}
|
${OPTIONS}
|
||||||
"-DBUILD_VERSION=${VERSION}"
|
"-DBUILD_VERSION=${VERSION}"
|
||||||
@ -56,6 +54,8 @@ vcpkg_cmake_configure(
|
|||||||
-DENABLE_UNINSTALL=OFF
|
-DENABLE_UNINSTALL=OFF
|
||||||
-DENABLE_ZLIB=SYSTEM
|
-DENABLE_ZLIB=SYSTEM
|
||||||
-DVCPKG_HOST_TRIPLET=${HOST_TRIPLET} # for host pkgconf in PATH
|
-DVCPKG_HOST_TRIPLET=${HOST_TRIPLET} # for host pkgconf in PATH
|
||||||
|
-DCMAKE_DISABLE_FIND_PACKAGE_Python=ON
|
||||||
|
-DCMAKE_DISABLE_FIND_PACKAGE_Python3=ON
|
||||||
MAYBE_UNUSED_VARIABLES
|
MAYBE_UNUSED_VARIABLES
|
||||||
ENABLE_ICU
|
ENABLE_ICU
|
||||||
)
|
)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "mongo-c-driver",
|
"name": "mongo-c-driver",
|
||||||
"version": "1.25.4",
|
"version": "1.25.4",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Client library written in C for MongoDB.",
|
"description": "Client library written in C for MongoDB.",
|
||||||
"homepage": "https://github.com/mongodb/mongo-c-driver",
|
"homepage": "https://github.com/mongodb/mongo-c-driver",
|
||||||
"license": null,
|
"license": null,
|
||||||
|
@ -5674,7 +5674,7 @@
|
|||||||
},
|
},
|
||||||
"mongo-c-driver": {
|
"mongo-c-driver": {
|
||||||
"baseline": "1.25.4",
|
"baseline": "1.25.4",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"mongo-cxx-driver": {
|
"mongo-cxx-driver": {
|
||||||
"baseline": "3.9.0",
|
"baseline": "3.9.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "7a6dfbb8124275c3987495969f7f79e5a7023b74",
|
||||||
|
"version": "1.25.4",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "219d51be972af0596a2c538b530fc379d136fcb2",
|
"git-tree": "219d51be972af0596a2c538b530fc379d136fcb2",
|
||||||
"version": "1.25.4",
|
"version": "1.25.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user