[MONGOCRYPT-377] Vendor libbson Created: 30/Jan/22  Updated: 30/Jun/22  Resolved: 30/Jun/22

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates MONGOCRYPT-444 Use mongo-c-driver as a subdirectory ... Closed

 Description   

Background & Motivation

libmongocrypt depends on libbson. By default libmongocrypt statically links libbson.

libmongoc has an optional dependency on libmongocrypt.

This creates an awkward dependency. mongodb/mongo-c-driver repository contains the source for libbson and libmongoc.

In the C driver Evergreen, to build libmongoc with CSFLE support from source, the debug-compile-*-cse tasks do the following:

  • Build libbson only.
  • Build libmongocrypt using that built version of libbson.
  • Build libmongoc using the built libmongocrypt.

Scope
Vendor libbson into a subdirectory in the libmongocrypt project.


Generated at Thu Feb 08 09:08:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.