summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2022-05-25 14:00:15 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-26 19:34:29 +0000
commit13389dc222fc372442be8c147e09685bb9a26a3a (patch)
treeea0a71cb7c819cfeef95368fa01b2742c59c972e /SConstruct
parent0cc2ede603fd954224356ea2bde2cad8bea65afa (diff)
downloadmongo-13389dc222fc372442be8c147e09685bb9a26a3a.tar.gz
SERVER-60440 Upgrade boost to 1.79.0
- Reapply the fix for SERVER-46008 for boost 1.79.0 - Reapply the slist fix from SERVER-44079 to boost 1.79.0 - Reapply the fix from SERVER-55204 to boost 1.79.0
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct14
1 files changed, 9 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index ce5366be543..e7017034252 100644
--- a/SConstruct
+++ b/SConstruct
@@ -4710,15 +4710,19 @@ def doConfigure(myenv):
conf.FindSysLibDep("wiredtiger", ["wiredtiger"])
conf.env.Append(CPPDEFINES=[
- ("BOOST_THREAD_VERSION", "5"),
- "BOOST_THREAD_USES_DATETIME",
- "BOOST_SYSTEM_NO_DEPRECATED",
- "BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS",
+ "ABSL_FORCE_ALIGNED_ACCESS",
"BOOST_ENABLE_ASSERT_DEBUG_HANDLER",
+ # TODO: Ideally, we could not set this define in C++20
+ # builds, but at least our current Xcode 12 doesn't offer
+ # std::atomic_ref, so we cannot.
+ "BOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF",
"BOOST_LOG_NO_SHORTHAND_NAMES",
"BOOST_LOG_USE_NATIVE_SYSLOG",
"BOOST_LOG_WITHOUT_THREAD_ATTR",
- "ABSL_FORCE_ALIGNED_ACCESS",
+ "BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS",
+ "BOOST_SYSTEM_NO_DEPRECATED",
+ "BOOST_THREAD_USES_DATETIME",
+ ("BOOST_THREAD_VERSION", "5"),
])
if link_model.startswith("dynamic") and not link_model == 'dynamic-sdk':