summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2017-05-22 12:26:22 -0400
committerAndrew Morrow <acm@mongodb.com>2017-06-12 17:23:33 -0400
commit672ef12fe402bb718f7c167467219560110a8379 (patch)
treea4570b33b8f012fc4c3e7b1ca1c79df18fe223e5 /SConstruct
parent90c32254af51f11aa494bc061f0afe2669c1189d (diff)
downloadmongo-672ef12fe402bb718f7c167467219560110a8379.tar.gz
SERVER-26537 Require clang 3.8, XCode 8.3, MSVC 20125 U3 to build
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 5 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index eb6d1ab76f3..c675e58f518 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1716,14 +1716,14 @@ def doConfigure(myenv):
# bare compilers, and we should re-check at the very end that TryCompile and TryLink still
# work with the flags we have selected.
if myenv.ToolchainIs('msvc'):
- compiler_minimum_string = "Microsoft Visual Studio 2015 Update 2"
+ compiler_minimum_string = "Microsoft Visual Studio 2015 Update 3"
compiler_test_body = textwrap.dedent(
"""
#if !defined(_MSC_VER)
#error
#endif
- #if _MSC_VER < 1900 || (_MSC_VER == 1900 && _MSC_FULL_VER < 190023918)
+ #if _MSC_VER < 1900 || (_MSC_VER == 1900 && _MSC_FULL_VER < 190024218)
#error %s or newer is required to build MongoDB
#endif
@@ -1748,7 +1748,7 @@ def doConfigure(myenv):
}
""" % compiler_minimum_string)
elif myenv.ToolchainIs('clang'):
- compiler_minimum_string = "clang 3.6 (or Apple XCode 6.3.0)"
+ compiler_minimum_string = "clang 3.8 (or Apple XCode 8.3.2)"
compiler_test_body = textwrap.dedent(
"""
#if !defined(__clang__)
@@ -1756,10 +1756,10 @@ def doConfigure(myenv):
#endif
#if defined(__apple_build_version__)
- #if __apple_build_version__ < 6020049
+ #if __apple_build_version__ < 8020042
#error %s or newer is required to build MongoDB
#endif
- #elif (__clang_major__ < 3) || (__clang_major__ == 3 && __clang_minor__ < 6)
+ #elif (__clang_major__ < 3) || (__clang_major__ == 3 && __clang_minor__ < 8)
#error %s or newer is required to build MongoDB
#endif