Skip to content

Commit

Permalink
[vcpkg baseline][libbson] Fix race condition during CMake configure (m…
Browse files Browse the repository at this point in the history
…icrosoft#35586)

* Delete unused patches

* disable finding Python

* Fix race during CMake configure

* version
  • Loading branch information
Thomas1664 authored and autoantwort committed Dec 13, 2023
1 parent d20250c commit 2979578
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 58 deletions.
44 changes: 0 additions & 44 deletions ports/libbson/disable-dynamic-when-static.patch

This file was deleted.

12 changes: 0 additions & 12 deletions ports/libbson/fix-missing-header.patch

This file was deleted.

3 changes: 3 additions & 0 deletions ports/libbson/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ endif()

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE # because it writes the file VERSION_CURRENT in the source directory
OPTIONS
"-DBUILD_VERSION=${VERSION}"
-DENABLE_BSON=ON
Expand All @@ -40,6 +41,8 @@ vcpkg_cmake_configure(
-DENABLE_UNINSTALL=OFF
-DENABLE_ZLIB=SYSTEM
-DENABLE_ZSTD=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Python=ON
-DCMAKE_DISABLE_FIND_PACKAGE_Python3=ON
MAYBE_UNUSED_VARIABLES
ENABLE_ICU
)
Expand Down
2 changes: 1 addition & 1 deletion ports/libbson/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libbson",
"version": "1.25.1",
"port-version": 1,
"port-version": 2,
"description": "libbson is a library providing useful routines related to building, parsing, and iterating BSON documents.",
"homepage": "https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson",
"license": null,
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4110,7 +4110,7 @@
},
"libbson": {
"baseline": "1.25.1",
"port-version": 1
"port-version": 2
},
"libcaer": {
"baseline": "3.3.15",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libbson.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "cefffe3ffeb41cff3720044ea92a8734c42dc31c",
"version": "1.25.1",
"port-version": 2
},
{
"git-tree": "4e2365e51faaf5bea56b3466e7c94342cb43a9e4",
"version": "1.25.1",
Expand Down

0 comments on commit 2979578

Please sign in to comment.