diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2018-11-13 10:50:32 -0500 |
---|---|---|
committer | Henrik Edin <henrik.edin@mongodb.com> | 2018-11-15 12:17:12 -0500 |
commit | 5d49f79ce7808c271e021e8a697a7aa7006adb38 (patch) | |
tree | c06a92c83d0e343af1a086fdb7b9eaad5145b734 /SConstruct | |
parent | dbafa9a288019008fd7a4ac975c298ec0bf40534 (diff) | |
download | mongo-5d49f79ce7808c271e021e8a697a7aa7006adb38.tar.gz |
SERVER-38107 Add abseil-cpp to third_party
Just compiling in the hash tables for now.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index f4c3391abae..a74fb76033d 100644 --- a/SConstruct +++ b/SConstruct @@ -326,6 +326,11 @@ add_option('system-boost-lib-search-suffixes', help='Comma delimited sequence of boost library suffixes to search', ) +add_option('use-system-abseil-cpp', + help='use system version of abseil-cpp libraries', + nargs=0, +) + add_option('use-system-boost', help='use system version of boost libraries', nargs=0, @@ -2673,6 +2678,9 @@ def doConfigure(myenv): elif using_lsan: myenv.FatalError("Using the leak sanitizer requires a valid symbolizer") + if using_asan: + myenv.AppendUnique(CCFLAGS=['-DADDRESS_SANITIZER']) + if using_tsan: tsan_options += "suppressions=\"%s\" " % myenv.File("#etc/tsan.suppressions").abspath myenv['ENV']['TSAN_OPTIONS'] = tsan_options |