File: README.Debian

package info (click to toggle)
mongo-cxx-driver 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 13,832 kB
  • sloc: cpp: 61,365; python: 1,436; sh: 356; xml: 253; perl: 215; makefile: 21
file content (18 lines) | stat: -rw-r--r-- 1,050 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Using the MongoDB C++ Driver with MNMLSTC instead of Boost
----------------------------------------------------------

The MongoDB C++ driver Debian package is built with the Boost C++17 polyfill.
In the event that you would rather use the MNMLSTC/core C++17 polyfill, you can
simply obtain the mongo-cxx-driver source package and rebuild it.

To enable the MNMLSTC/core C++17 polyfill use the pkg.mongo-cxx-driver.mnmlstc
build profile and ensure that your build environment has network access enabled.
The first can be accomplished by setting the environment variable
DEB_BUILD_PROFILES="pkg.mongo-cxx-driver.mnmlstc" and the second when building
by passing the option --git-pbuilder-options="--use-network yes" (for building
with git-buildpackage) or possibly just "--use-network yes" (for building with
pbuilder).  Enabling network access is required so that the upstream part of the
build can clone the MNMLSTC/core GitHub project.

General instructions for rebuilding Debian packages can be found here:
https://wiki.debian.org/BuildingTutorial