diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-04-01 13:07:09 -0400 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2019-04-08 10:22:17 -0400 |
commit | 2def9c02b31425551cf904d4b6e9920b64dd1c06 (patch) | |
tree | e1ad4ee413fe37e73e95375602f82c98cea9f8ce /SConstruct | |
parent | c8a133c3714d80d02cb8524d5278e6c1321e26f1 (diff) | |
download | mongo-2def9c02b31425551cf904d4b6e9920b64dd1c06.tar.gz |
SERVER-40389 small tweaks to third_party/fmt & related.
Add an option to scons: --use-system-fmt
import.sh: use the upstream libfmt github repo.
StringData fmt interop
noexcept for to_string_view(StringData) hook
noexcept for StringData's rawData() and size()
add fmt to THIRD-PARTY-NOTICES + markdown tweaks
import the fmt LICENSE.rst
update fmt lib revision
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index adbdf29d1fd..26a5678664e 100644 --- a/SConstruct +++ b/SConstruct @@ -313,6 +313,11 @@ add_option('use-system-tcmalloc', nargs=0, ) +add_option('use-system-fmt', + help='use system version of fmt library', + nargs=0, +) + add_option('use-system-pcre', help='use system version of pcre library', nargs=0, @@ -3218,6 +3223,9 @@ def doConfigure(myenv): if use_system_version_of_library("yaml"): conf.FindSysLibDep("yaml", ["yaml-cpp"]) + if use_system_version_of_library("fmt"): + conf.FindSysLibDep("fmt", ["fmt"]) + if use_system_version_of_library("intel_decimal128"): conf.FindSysLibDep("intel_decimal128", ["bid"]) |