0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

1438 Commits

Author SHA1 Message Date
Andrew Morrow
a1f15dfd78 SERVER-22602 Provide advice when OpenSSL components are not found on macOS 2017-03-15 10:14:08 -04:00
Andrew Morrow
4948241998 SERVER-28133 Don't mix the ODR detector, clang, and libstdc++ 2017-03-14 23:02:10 -04:00
Mathias Stearn
259fed1b72 SERVER-28197 Fix pthread_setname_np check
Without this change, I get the following error and it detects that I don't
have pthread_setname_np.

build/opt/scons/sconf_temp/conftest_49.cpp:2:0: error: "_GNU_SOURCE" redefined [-Werror]
 #define _GNU_SOURCE

<command-line>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
2017-03-13 10:40:10 -04:00
Mark Benvenuto
c2c8abc0a6 SERVER-28199 Raise minimum required scons version 2017-03-07 11:14:39 -05:00
Gabriel Russell
4a61e8533c SERVER-28131 don't load dagger tool unless needed 2017-03-02 10:11:41 -05:00
Mathias Stearn
a9cf9dffdc SERVER-28133 --disable-warnings-as-errors should also apply to linker 2017-02-28 11:58:12 -05:00
Andrew Morrow
4052dc6ee8 SERVER-27682 Use variables files to configure toolchains 2017-02-28 07:09:23 -05:00
Andrew Morrow
27026169e7 SERVER-27380 Use response files for long lines, not thin_archive 2017-02-27 21:55:34 -05:00
Gabriel Russell
8a3d841325 SERVER-27564 install dagger tool before running SConscript() on src/ 2017-02-21 12:38:54 -05:00
Andrew Morrow
38c0eb538d SERVER-28004 Add build system support for iOS-related Darwin variants
Use a SCons invocation like the following to attach to the correct SDK
and targeting options.

// macOS native build:
> python buildscripts/scons.py CCFLAGS="-isysroot `xcrun --sdk macosx --show-sdk-path` -mmacosx-version-min=10.10" LINKFLAGS="-Wl,-syslibroot,`xcrun --sdk macosx --show-sdk-path` -mmacosx-version-min=10.10" CC=`xcrun -f --sdk macosx clang` CXX=`xcrun -f --sdk macosx clang++`all

// iOS Cross:
> python buildscripts/scons.py CCFLAGS="-arch arm64 -isysroot `xcrun --sdk iphoneos --show-sdk-path` -miphoneos-version-min=10.2" LINKFLAGS="-arch arm64 -Wl,-syslibroot,`xcrun --sdk iphoneos --show-sdk-path` -miphoneos-version-min=10.2" CC=`xcrun -f --sdk iphoneos clang` CXX=`xcrun -f --sdk iphoneos clang++` TARGET_OS=iOS TARGET_ARCH=aarch64 all

// iOS Simulator Cross:
> python buildscripts/scons.py CCFLAGS="-isysroot `xcrun --sdk iphonesimulator --show-sdk-path` -miphoneos-version-min=10.2" LINKFLAGS="-Wl,-syslibroot,`xcrun --sdk iphonesimulator --show-sdk-path` -miphoneos-version-min=10.2" CC=`xcrun -f --sdk iphonesimulator clang` CXX=`xcrun -f --sdk iphonesimulator clang++` TARGET_OS=iOS-sim all

// tvOS Cross:
> python buildscripts/scons.py CCFLAGS="-arch arm64 -isysroot `xcrun --sdk appletvos --show-sdk-path` -mtvos-version-min=10.1" LINKFLAGS="-arch arm64 -Wl,-syslibroot,`xcrun --sdk appletvos --show-sdk-path` -mtvos-version-min=10.1" CC=`xcrun -f --sdk appletvos clang` CXX=`xcrun -f --sdk appletvos clang++` TARGET_OS=tvOS TARGET_ARCH=aarch64 all

// tvOS Simulator Cross:
> python buildscripts/scons.py CCFLAGS="-isysroot `xcrun --sdk appletvsimulator --show-sdk-path` -mtvos-version-min=10.1" LINKFLAGS="-Wl,-syslibroot,`xcrun --sdk appletvsimulator --show-sdk-path` -mtvos-version-min=10.1" CC=`xcrun -f --sdk appletvsimulator clang` CXX=`xcrun -f --sdk appletvsimulator clang++` TARGET_OS=tvOS-sim

To run the resulting binaries under the simulator, boot a particular
target machine with 'xcrun simctl':

> xcrun simctl boot 'Apple TV 1080p'

Find the ID of the instance that was booted:

> xcrun simctl list | grep 'Apple TV 1080p'

And then spawn the intended binary inside the simulator with that ID:

> xcrun simctl spawn CEEC6346-6D21-4092-A091-E5A3862A357F build/opt/mongo/mongod --dbpath=tmp
2017-02-15 18:40:45 -05:00
Mark Benvenuto
d2f8e7b928 SERVER-27898 pthread_setname_np test should be compiled as cpp 2017-02-07 11:15:26 -05:00
Andrew Morrow
f29598f2b8 SERVER-27378 Narrow scope of enterprise module environment modifications 2017-02-05 16:42:14 -05:00
ADAM David Alan Martin
e3a32afe3b
SERVER-27757 Disable incomplete tag in SCons
The `incomplete` tag should be used nowhere else in the codebase,
and thus we can finally disable it.
2017-02-01 15:30:47 -05:00
ADAM David Alan Martin
eb71198dbd
SERVER-27709 Remove cycles & change incomplete tag
Allow `incomplete` for the time being to prevent breaking code in
enterprise.  The cycle/incomplete exemption has been renamed to
`illegal_cyclic_or_unresolved_dependencies_whitelisted`, to discourage
overuse.  Removed the incompletes that we can.
2017-01-17 14:44:05 -05:00
Andrew Morrow
ceb00c4897 SERVER-27566 Always randomize the build order 2017-01-03 22:36:36 -05:00
Andrew Morrow
1346352ff6 SERVER-27497 Scope SCons Environment changes narrowly 2017-01-03 09:45:52 -05:00
Mark Benvenuto
32635c99ec SERVER-26699 Enable MSVC flags for C++ standards alignment 2016-12-22 11:28:02 -05:00
Matt Cotter
d6a2348599 SERVER-26698 switch all compiles to C++14
Enjoy the C++14! 😀 ❤️ thank you!
2016-12-15 17:07:30 -05:00
Andrew Morrow
f371d09cd3 SERVER-27377 Executables need --no-as-needed too 2016-12-12 14:29:38 -05:00
Mark Benvenuto
37cbe92c62 SERVER-27279 pthread_setname_np is not supported on SUSE 11.4 2016-12-06 10:46:33 -05:00
Andrew Morrow
df58fb13b7 SERVER-27229 Don't do ODR detection with UBSAN 2016-11-30 17:31:53 -05:00
Andrew Morrow
075b474c44 SERVER-10576 Use gold ODR violation detection if available 2016-11-29 17:30:04 -05:00
Andrew Morrow
8f1e9cb99d Revert "Revert "SERVER-27075 Link with hash-style=gnu when available""
This reverts commit 0edb03f021.
2016-11-29 13:35:53 -05:00
Dianna Hohensee
0edb03f021 Revert "SERVER-27075 Link with hash-style=gnu when available"
This reverts commit 1834a0f842.
2016-11-29 13:03:55 -05:00
Andrew Morrow
1834a0f842 SERVER-27075 Link with hash-style=gnu when available 2016-11-29 10:29:46 -05:00
Brian Samek
99f1f23edb SERVER-17368 Add openssl files to windows zip file 2016-11-22 16:10:42 -05:00
Mark Benvenuto
dded0e36b1 SERVER-25771 Set BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS to support valgrind 2016-11-17 11:00:34 -05:00
Mathias Stearn
b0885dbb66 SERVER-25679 Fix compile with clang-3.9 2016-11-03 15:16:50 -04:00
Mark Benvenuto
27de917081 SERVER-3993 Windows File Version stamping 2016-11-03 09:15:24 -04:00
Mark Benvenuto
5077c3a691 SERVER-26727 make_vcxproj.py - add support for .filters and improve performance 2016-10-26 15:18:01 -04:00
Andrew Morrow
53cd93fb9b SERVER-26473 Implement the git based decider 2016-10-21 13:50:22 -04:00
Andrew Morrow
f6e1dfb144 SERVER-26472 Allow fast and loose to be combined with the cache if explicitly requested 2016-10-20 16:55:43 -04:00
Matt Cotter
7b58433eec SERVER-22992 waiting on forked process also waits on consuming output 2016-10-12 14:29:59 -04:00
Andrew Morrow
bdb8bfe3b5 SERVER-26276 Enable thin static linking on binutils platforms 2016-10-10 16:38:53 -04:00
samantharitter
956103c27c SERVER-26338 Only load dependencyDb in scons on supported platforms 2016-10-07 10:11:16 -04:00
Gabriel Russell
6970945d92 SERVER-26376 add mongoreplay to release 2016-10-03 13:16:22 -04:00
Andrew Morrow
613cd2c422 SERVER-26311 Enable stack protection for clang builds 2016-09-26 12:32:16 -04:00
Andrew Morrow
710eea36a1 SERVER-26058 Remove obsolete UBSAN check suppression 2016-09-12 17:04:27 -04:00
Mark Benvenuto
3f7812c99d SERVER-25853 SLES 11 kernel does not support s390x VX instructions 2016-08-29 17:53:17 -04:00
Mathias Stearn
255be3b6d6 SERVER-24291 Add libdl to LIBS when using gcc sanitizers 2016-08-29 15:34:16 -04:00
Andrew Morrow
d25e46c8f1 SERVER-25608 Add a SCons target and config vars for cache pruning 2016-08-17 13:29:55 -04:00
Andrew Morrow
dacf1667d1 SERVER-25402 Fewer binaries depend on interpolated version info 2016-08-15 18:36:28 -04:00
Andrew Morrow
bd66e1bdbc SERVER-25402 Add an option to not cache linked artifacts 2016-08-13 13:12:32 -04:00
Sam Kleinman
6adf7407a8 SERVER-25528: allow cache in release builds 2016-08-12 16:20:57 -04:00
Spencer Jackson
045a53f469 SERVER-22826 Support X509 Authorization 2016-08-11 18:58:27 -04:00
Juggls
3a25e6f73c SERVER-24838: add scons tool for capturing dependency graph 2016-07-29 13:43:09 -04:00
Mark Benvenuto
ee4038aebd SERVER-24608 Add Windows performance counter collector 2016-07-26 10:43:13 -04:00
Andrew Morrow
883870b4d2 SERVER-25214 Use C11 to compile C language files 2016-07-25 22:26:31 -04:00
Waley Chen
9a8cc77285 SERVER-24566 Debug build fails in configure 2016-07-22 13:19:58 -04:00
Jonathan Reams
51c85731b8 SERVER-13956 Enable build-id on all clang/gcc versions that support it 2016-07-12 10:19:27 -04:00
Waley Chen
2f708de733 SERVER-23974 Add clang 3.4 with libc++ canary builder 2016-06-22 11:03:20 -04:00
Mathias Stearn
d3a6556ae3 SERVER-24565 unbreak scons --help on scons<2.4 2016-06-15 16:40:09 -04:00
Ernie Hershey
b7086da683 Revert "Fix system failure: change runtime-hardening default to off"
This reverts commit e1f383dedb.
2016-06-10 15:44:59 -04:00
Mathias Stearn
6335744b8a SERVER-24290 include variables in scons --help 2016-06-09 13:00:49 -04:00
Tess Avitabile
e1f383dedb Fix system failure: change runtime-hardening default to off 2016-06-09 11:58:36 -04:00
Andrew Morrow
a313453ea0 SERVER-9566 Add support for ASLR on ELF platforms
Also, enable runtime hardening by default
2016-06-08 13:33:25 -04:00
Andrew Morrow
dd61c32391 SERVER-24120 Treat linker warnings as errors on binutils platforms 2016-06-03 08:18:15 -04:00
Andrew Morrow
18fe193474 SERVER-23910 Add support for building with -fstack-protector-strong 2016-06-02 11:24:53 -04:00
Andrew Morrow
fa477177ac SERVER-23911 Add _FORTIFY_SOURCE to preprocessor definitions when requested 2016-06-02 11:24:23 -04:00
Andrew Morrow
96841731d8 SERVER-24185 Enable read-only relocations for ELF platforms 2016-05-24 14:06:07 -04:00
Andrew Morrow
9208c28e02 SERVER-23948 Check at configure time that the claimed C++ compiler can actually link a C++ program 2016-05-17 15:01:38 -04:00
J. Rassi
7172fad82c SERVER-22371 Allow db/query/query_common to link against ICU
Also completes implementation of --use-system-icu scons flag, and
removes --icu scons flag.
2016-05-17 12:20:53 -04:00
Andrew Morrow
dca92896c8 SERVER-23826 Run all tests under the undefined behavior sanitizer 2016-05-16 16:39:34 -04:00
Andrew Morrow
23c5d7e44c SERVER-24117 Force the stack to always be non-executable
Also, warn if the stack would have been executable if we hadn't forced
it not to be, so we can find and correct broken assmbley source files.
2016-05-10 14:02:33 -04:00
Andrew Morrow
9a94318cf5 SERVER-1811 Re-enable aarch64 support 2016-04-28 16:22:43 -04:00
Mark Benvenuto
78ca1d510c SERVER-23519 Change Windows Builders to VS2015, and require VS2015 2016-04-28 10:26:59 -04:00
Jonathan Reams
8e22eb7933 SERVER-23957 Honor disable-minimum-compiler-version-enforcement for libstdc++ 2016-04-28 10:15:22 -04:00
Andrew Morrow
8d8f17890e SERVER-23518 Require GCC and libstdc++ 5.3.0 2016-04-26 18:35:13 -04:00
Geert Bosch
8e13345122 SERVER-1393: Include decimal support under control of server parameter 2016-04-22 14:58:59 -04:00
Mark Benvenuto
e34014a91e SERVER-19505 Add Visual Studio 2015 Builder 2016-04-22 10:46:44 -04:00
Andrew Morrow
c60dea0181 SERVER-23826 Run the dbtests under UBSAN
Also cleans up some handling around how undefined behavior
sanitizer finds the symbolizer, and suppresses some undefined
behavior in mozjs that prevented the dbtests from passing.

In addition, it was recognized that we can reduce the scope
where we inhibit UBSANs checks for misaligned access to only
wiredtiger, so do that too.
2016-04-20 15:52:49 -04:00
Jason Carey
6d7be60bbb SERVER-23570 Make SecureAllocator a real allocator
Also adds SecureT, a wrapper proxy for newing objects on the secure heap.
2016-04-19 15:31:14 -04:00
Andrew Morrow
f2ec414e9c SERVER-16221 Enable UBSAN build and unittest 2016-04-19 10:09:30 -04:00
Andrew Morrow
a0c60da293 SERVER-23520 Add a C++14 canary builder 2016-04-18 15:12:34 -04:00
Jonathan Reams
b788596cb6 SERVER-23044 Add system CA keychain support for OSX 2016-04-15 13:49:58 -04:00
Andrew Morrow
7850673c03 SERVER-23719 Control verbosity with a VERBOSE variable
Also removes the --mute flag
2016-04-14 19:04:02 -04:00
Mark Benvenuto
c162b6bb89 SERVER-17788 GPerfTools 2.5 Build Integration 2016-04-12 08:42:52 -04:00
Waley Chen
95d6f8c8a4 SERVER-23571 Make debug builds of SpiderMonkey distinct from --dbg in scons 2016-04-11 17:23:59 -04:00
Ian Whalen
659c0604cd Revert "SERVER-23571 Make debug builds of SpiderMonkey distinct from --dbg in scons"
This reverts commit 8aa4517fa7.
2016-04-07 12:31:02 -04:00
Waley Chen
8aa4517fa7 SERVER-23571 Make debug builds of SpiderMonkey distinct from --dbg in scons 2016-04-07 11:21:09 -04:00
Andrew Morrow
ff8061cd1d SERVER-23556 Disable mmapv1 on non-x86 platforms 2016-04-06 20:33:27 -04:00
Mark Benvenuto
2700f16594 SERVER-19986 clang_format.py lint should enumerate all files for scons integration 2016-04-04 15:07:28 -04:00
Jonathan Reams
6fa3f3c8b5 SERVER-23044 Fall back to system CA certs if CA file isn't provided 2016-04-04 14:40:14 -04:00
Jonathan Reams
af651b2a97 Revert "SERVER-23044 Fall back to system CA certs if CA file isn't provided"
This reverts commit 22e4df34c0.
2016-04-04 13:34:32 -04:00
Jonathan Reams
22e4df34c0 SERVER-23044 Fall back to system CA certs if CA file isn't provided 2016-04-04 13:29:14 -04:00
Mark Benvenuto
7bc77b9f6d SERVER-23452 Enable -Werror on Solaris 2016-04-02 13:26:52 -04:00
Mark Benvenuto
0b76e808eb SERVER-17294 Boost 1.60 Build Integration 2016-03-31 15:09:29 -04:00
Mark Benvenuto
cf6f771fb0 SERVER-23276: Disable MMapV1 on Big Endian 2016-03-24 11:15:33 -04:00
Mike Grundy
d82956a6fe SERVER-22338 Integrate JavaScript linting into scons lint target 2016-03-18 16:57:23 -04:00
samantharitter
25f28a35d6 SERVER-22686 Add C++14 enable_if_t to stdx 2016-03-10 18:01:57 -05:00
Andrew Morrow
75dfb6a259 SERVER-16221 Improve support for running with ubsan 2016-02-17 18:09:27 -05:00
Mark Benvenuto
bd2c33b3c6 Revert "SERVER-16496 Define BOOST assert handler"
This reverts commit dad1e14a3d.
2016-02-17 15:31:04 -05:00
David Storch
22c684d6f8 SERVER-22371 initial implementation of ICU build system integration
To build ICU with scons:
 - Run ./src/third_party/scripts/icu_get_sources.sh to download ICU
 sources into the third_party directory.
 - Build $BUILD_DIR/third_party/shim_icu with the --icu=on flag.
2016-02-16 12:57:15 -05:00
Mark Benvenuto
df981d0766 SERVER-17563 GPerfTools does not build on PPC64LE (Power8) platform 2016-02-11 14:42:16 -05:00
Mark Benvenuto
dad1e14a3d SERVER-16496 Define BOOST assert handler 2016-02-10 11:26:47 -05:00
Andrew Morrow
baffac716d SERVER-22197 Don't use tcmalloc by default on non x86 linux 2016-01-19 17:42:42 -05:00
Mark Benvenuto
225ac6a226 SERVER-22110 ppc64le builds should detect target arch as ppc64le, not ppc64 2016-01-14 15:08:57 -05:00
Andrew Morrow
719ac08161 SERVER-22042 Use CheckLib to verify SSL library availabiliy 2016-01-05 10:01:24 -05:00
Andrew Morrow
9e518d6d2d SERVER-21820 SERVER-21830 Export endian from SConstruct for use in third_party 2015-12-22 12:30:23 -05:00
Andrew Morrow
91ffce981f SERVER-21819 Add s390x to list of known target platforms 2015-12-21 11:29:13 -05:00
Mark Benvenuto
e090ea73cc SERVER-21834: use ppc64 instead of PowerPC as the platform 2015-12-11 16:55:10 -05:00
Andrew Morrow
d4a23ddb41 SERVER-21611 Substitute variables in SCons command line targets 2015-12-11 11:56:09 -05:00
Mike Grundy
4aa5a6c94b SERVER-21598 Code coverage compile options aren't passed to wired tiger 2015-12-10 15:46:38 -05:00
Spencer Jackson
6a298eea4d SERVER-21515: Add mongodecrypt to dist target 2015-11-20 02:22:50 -05:00
Mark Benvenuto
0c25b468fd SERVER-17105 Valgrind 3.11.0 Import 2015-11-12 11:13:38 -05:00
Andrew Morrow
53ce96ad0f SERVER-20754 Fixes to support building against system boost 1.59 2015-10-27 08:08:59 -04:00
Andrew Morrow
b0c0ab7f4d SERVER-20974 Improve undefined behavior sanitizer integration 2015-10-19 17:10:35 -04:00
Jonathan Reams
53c52c43a9 SERVER-6233 Add URI parsing to mongo shell 2015-10-13 21:26:12 -04:00
Jonathan Reams
36d240b6c0 SERVER-17790 Define NDEBUG on non-debug builds 2015-09-28 15:23:31 -04:00
Andrew Morrow
fbf0437a55 SERVER-17422 Use BCrypt API for secure random number generation on Windows 2015-09-15 10:27:28 -04:00
Jonathan Reams
4c993f0fde SERVER-16852 Fix enterprise OSX builds 2015-09-08 10:35:55 -04:00
Jonathan Reams
e729e9caf7 SERVER-16852 Print buildInfo in version output/allow override of buildInfo 2015-09-04 15:27:03 -04:00
Jonathan Reams
e8f3ef4844 SERVER-19444 Add polyfill for strnlen 2015-08-27 16:59:37 -04:00
Andreas Nilsson
8c50632c3c SERVER-19845 Fix 32-bit compile issue by adding WT enabled define 2015-08-27 12:53:57 -04:00
Jonathan Reams
0012f70963 SERVER-17995 Prefer gold linker if available 2015-08-26 11:38:02 -04:00
Adam Midvidy
3e21b91dcc SERVER-18668 warn about pessimizing/redundant moves if compiler can do so 2015-08-24 19:02:13 -04:00
Andrew Morrow
01fff117c0 SERVER-9666 Tag cyclic or incomplete libraries, add more missing edges 2015-08-24 09:36:31 -04:00
Andrew Morrow
3184194f9e SERVER-19378 Remove support for building with v8 2015-08-24 08:31:31 -04:00
Adam Midvidy
a56ea15c45 SERVER-19447 implement SCons support for CPP integration tests
- add evergreen tasks as well
2015-08-11 13:50:17 -04:00
Jonathan Reams
51a8f1ca3d SERVER-19822 Make sure directory names in dist archives are consistent 2015-08-07 16:33:35 -04:00
Raymond Jacobson
dcf14b7f5a SERVER-19622 Vendorize Intel Decimal Math library 2015-07-31 17:04:23 -04:00
Raymond Jacobson
8b19e377c4 SERVER-19613 Add experimental Decimal128 build flag
Add scons build parameter --experimental-decimal-support=on,
which enables experimental support of a 128 bit decimal type.
2015-07-31 15:30:46 -04:00
Spencer Jackson
11db3b9b0c SERVER-19458: Add memory zeroing utility 2015-07-27 14:52:41 -04:00
Andrew Morrow
e9fc3c3ae2 SERVER-9564 When libabigail utils are present, minimize relinking 2015-07-24 23:06:56 -04:00
Andrew Morrow
92f1bacdb1 SERVER-9564 Expose linking model choice as a build option 2015-07-23 19:07:11 -04:00
Jason Carey
2a6a8f7cf3 SERVER-19376 Make SpiderMonkey the default JS Engine 2015-07-21 11:24:29 -04:00
Jonathan Reams
622614f987 SERVER-18911 Fix source tarball directory prefix 2015-07-20 12:54:44 -04:00
Andrew Morrow
c3bb28439a SERVER-19427 Fix malformed one element tuples in processor_macros dictionary 2015-07-16 12:26:55 -04:00
Jason Carey
e749ffad9b SERVER-18531 Integrate SpiderMonkey
Provides SpiderMonkey 38.0.1esr as a JS engine for mongo and mongod.
2015-07-14 16:15:54 -04:00
Andrew Morrow
55af30c104 SERVER-19353 Do not use the deprecated boost system interfaces 2015-07-10 08:31:16 -04:00
Jonathan Reams
e38826d61c SERVER-19088 The cache scons flag should disable fast-and-loose scons flag 2015-07-07 11:27:42 -04:00
Martin Bligh
53b6e27506 SERVER-10512: Add -fno-omit-frame-pointer by default
Performance overhead is so small it's not measurable, previous microbenchmarks indicate around 1% for intensive workloads.
In return we get the ability to use perf profiling and much improved debugability
2015-07-06 16:27:37 -04:00
Andrew Morrow
6abd1d0e9c SERVER-19099 Consistently use concurrency and time names via stdx 2015-06-30 12:16:55 -04:00
Jonathan Reams
ac12076150 SERVER-19123 Fix using system zlib in scons 2015-06-30 10:30:12 -04:00
Andrew Morrow
96a9efeeee SERVER-19099 Add a target to build all generated sources 2015-06-29 19:02:10 -04:00
Kaloian Manassiev
0b4c3c7b54 SERVER-19164 Enable /bigobj for Windows debug/no-opt builds 2015-06-26 18:17:30 -04:00
Jonathan Reams
26d5e725c8 SERVER-18953 SERVER-9567 Add debug symbols archive target 2015-06-23 11:08:17 -04:00
Andy Schwerin
7926b2f51f SERVER-6737 Simplify existing thread local support. 2015-06-22 16:18:37 -04:00
Mark Benvenuto
e484264ed6 SERVER-18579: Add .clang-format & Scons support 2015-06-20 10:56:04 -04:00
Andrew Morrow
9a86ae5e96 SERVER-19029 Configure boost thread more efficiently 2015-06-18 15:42:05 -04:00
Kamran Khan
dd72c45ad1 SERVER-18998 Fix a build failure when building TSan support without a symbolizer
Previously, the build would fail with an UnboundLocalError when appending to
tsan_options.
2015-06-16 15:52:40 -04:00
Jonathan Reams
9cffe6232e SERVER-18911 Make sure new source tarballs match old source push conventions 2015-06-15 16:30:08 -04:00
Andrew Morrow
483706ef48 SERVER-17789 Do not use option values to configure the variant directory 2015-06-12 13:28:17 -04:00
Jonathan Reams
0ceb2687b8 SERVER-18371 Add configure check for SSL/FIPS 2015-06-04 11:21:17 -04:00
Andrew Morrow
6b9931d988 SERVER-18569 Standalone ASIO build system integration 2015-05-22 12:13:16 -04:00
Jonathan Reams
2ce0a91ec6 SERVER-17782 SERVER-17329 Improve versioning and add distsrc to SCons 2015-05-21 14:15:43 -04:00
Andrew Morrow
fc5c57db15 SERVER-18402 Search site_scons for well known variable customization files 2015-05-11 15:35:54 -04:00
Andrew Morrow
1d9b83f163 SERVER-18017 SERVER-17728 Suppres some new clang 3.6 warnings we don't like 2015-05-08 15:21:25 -04:00
Max Hirschhorn
424314f65e SERVER-1424 Rewrite smoke.py.
Split out the passthrough tests into separate suites. The MongoDB
deployment is started up by resmoke.py so that we can record the
success/failure of each individual test in MCI.

Added support for parallel execution of tests by dispatching to
multiple MongoDB deployments.

Added support for grouping different kinds of tests (e.g. C++ unit
tests, dbtests, and jstests) so that they can be run together. This
allows for customizability in specifying what tests to execute when
changes are made to a particular part of the code.
2015-05-08 14:49:42 -04:00
Jonathan Reams
1bb3be7a14 SERVER-9871 Add error reporting methods to env 2015-05-07 15:10:49 -04:00
Mark Benvenuto
b43f9663dd SERVER-18079: Use TCMalloc for WT on Windows 2015-05-04 16:42:21 -04:00
Andrew Morrow
4ff9beb829 SERVER-17455 Use CheckLib for libatomic and print nicer messages 2015-04-23 14:22:12 -04:00
Jonathan Reams
33ef05ce2d SERVER-17455 Re-add std::atomic configure checks 2015-04-22 16:46:05 -04:00
Jonathan Reams
a64b7af35a SERVER-17755 Remove legacy code from build system 2015-04-16 16:24:36 -04:00
Mark Benvenuto
6b06d6057c SERVER-17866: Make minimum Windows build version Vista/2008 2015-04-14 11:52:34 -04:00
Andrew Morrow
eea0ef850e SERVER-17919 Add support for emitting a compilation database 2015-04-13 15:47:26 -04:00
Andrew Morrow
64d7779bdb SERVER-17986 Allow customization of ENV via SCons Variables 2015-04-11 10:00:00 -04:00
Andrew Morrow
c24e4b657c SERVER-17781 Customize C and C++ compiler with Variables not options 2015-04-11 09:59:59 -04:00
Mark Benvenuto
8bb91b9798 SERVER-17566: Remove PCRE defines from SConstruct 2015-04-10 09:55:37 -04:00
Mathias Stearn
a7fa0b96f5 SERVER-17897 Add a way to opt out of building modules 2015-04-09 11:35:56 -04:00
Jonathan Reams
2f144f93ef SERVER-17823 Raise minimum VS compiler to VS2013 update 4 2015-04-07 12:09:57 -04:00
Jonathan Reams
a18651c7df SERVER-17554 Remove support for building with journaling off by default 2015-04-01 10:33:05 -04:00
Jonathan Reams
06785ef692 SERVER-9555 Better OS detection in scons 2015-03-30 12:14:42 -04:00
Andrew Morrow
67cf6c0d51 SERVER-11020 Don't overload the meaning of _DEBUG, use our own debug macro 2015-03-27 11:37:29 -04:00
Jonathan Reams
ef7f17be80 SERVER-9563 Add support for config.h header 2015-03-26 18:30:00 -04:00
Andrew Morrow
91de99a737 SERVER-17730 Allow selection of non-posix shlex mode for Variables 2015-03-25 10:04:14 -04:00
Andrew Morrow
bd6d3e7691 SERVER-17694 Add support to set the SCons RPATH from Variables 2015-03-23 12:43:09 -04:00
Adam Midvidy
f97a60f882 SERVER-17655 polyfill make_unique in stdx 2015-03-19 15:58:21 -04:00
Andy Schwerin
7ee3d12407 SERVER-17568 Report most-vexing-parse warning as error in MSVC. 2015-03-12 17:11:20 -04:00
Andrew Morrow
5af44a739a SERVER-9557 Remove deprecated or obsolete scons options 2015-03-12 15:23:34 -04:00
Andrew Morrow
17a7f0eedd SERVER-17552 Use correct OS detection macros, rather than our own 2015-03-11 18:57:20 -04:00
Geert Bosch
b4f647796a SERVER-17391: Move RocksDB storage engine integration layer to new module 2015-03-11 18:03:04 -04:00
Mathias Stearn
f68312003c Toggling --gdbserver shouldn't rebuild everything 2015-03-09 18:52:53 -04:00
Andrew Morrow
055d827ed7 SERVER-17329 Interpolate new version.txt file into generated buildinfo files 2015-03-09 17:51:06 -04:00
Jonathan Reams
49434d723b SERVER-9562 Add better detection of toolchain/arch 2015-03-09 15:27:05 -04:00
Eric Milkie
a1ffa36455 Add support for tsan suppressions 2015-03-06 11:08:45 -05:00
Mark Benvenuto
b3085ab4f6 SERVER-17252: PCRE 8.36 SCons Integration 2015-03-04 15:11:40 -05:00
Max Hirschhorn
0a82325a68 SERVER-17463 Fix issue specifying absolute path to scons --cache-dir. 2015-03-04 10:06:43 -05:00
Mark Benvenuto
95940768bc SERVER-8994: Remove Boost 1.49 2015-03-03 14:03:32 -05:00
Jonathan Reams
2b4f184b74 SERVER-14166 Remove defaults and choices for osx-version-min scons option 2015-02-19 16:58:07 -05:00
Andrew Morrow
9887033095 Revert "SERVER-15202: Restore boost 1.49 as default"
This reverts commit 1c49822f77.

The default is now boost 1.56
2015-02-15 12:46:36 -05:00
Andrew Morrow
05d73815c3 SERVER-16559 Require C++11 and remove conditional compilation 2015-02-13 13:01:12 -05:00
Benety Goh
00fe4ffaf0 SERVER-13916 added scons flag --server-js to build mongod without JavaScript support while still building shell
Additional changes:
    fixed scons --noshell flag
    fixed scons flag --js-engine=none to imply --noshell
2015-02-13 09:15:28 -05:00
Jonathan Reams
439ecb677c SERVER-11622 Check for boost 1.49 or better during configure 2015-02-11 13:19:54 -05:00
Jonathan Reams
ed49b537b9 SERVER-9560 Remove pre-compiled header support from scons 2015-02-11 13:18:47 -05:00
Jonathan Reams
1b72a40d26 SERVER-16663 Add variables to set CFLAGS et all on command-line 2015-01-21 15:51:32 -05:00
Andrew Morrow
91959b89ac SERVER-16957 Permit user specifiable list of boost search suffixes 2015-01-21 15:42:28 -05:00
Adam Midvidy
8703aa6fe8 SERVER-16784 only enable the minimum needed set of Scons Tools 2015-01-09 17:24:20 -05:00
agherardi
aee446a97d SERVER-14992: Checking ntfs.sys version to figure out if it's necessary to zero out data files.
Closes #894

Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
2015-01-09 13:08:02 -05:00
Jonathan Reams
0d3f90da14 SERVER-14310 Customizing the C++ compiler with --cxx but not customizing --cc should be a build error 2015-01-08 14:27:03 -05:00
Andrew Morrow
0777616ff7 SERVER-16200 Improve LTO integration for gcc and clang 2014-12-30 14:11:20 -05:00
Matt Kangas
e295dccc9f SERVER-16197 fix scons install, dist
Option '--use-new-tools' now controls whether scons looks for tools at all.

"scons install" no longer tries to install external tools.
"scons dist" fails if --use-new-tools not specified or if external tools are missing
2014-12-22 17:43:36 -05:00
Andrew Morrow
f8331e15df SERVER-15357 Revert "Revert "SERVER-15357 Require GCC 4.8.2 now that our Solaris toolchain is updated""
This reverts commit b5d97eeeea.
2014-12-17 10:51:23 -05:00
Andrew Morrow
b5d97eeeea Revert "SERVER-15357 Require GCC 4.8.2 now that our Solaris toolchain is updated"
This reverts commit 383c185480.
2014-12-05 17:18:21 -05:00
Andrew Morrow
383c185480 SERVER-15357 Require GCC 4.8.2 now that our Solaris toolchain is updated 2014-12-05 15:04:50 -05:00
Jonathan Reams
7a135d1c39 SERVER-12468 Remove no-glibc-check option from scons 2014-12-04 11:38:51 -05:00
Eric Milkie
03c5bd928d SERVER-16410 suppress missing-braces warning on clang 2014-12-03 16:18:44 -05:00
Mark Benvenuto
48ae7bda6e SERVER-15357: Disable optimizations on Windows debug builds 2014-11-26 10:47:40 -05:00
Matt Kangas
601e10a7a3 SERVER-16255 increase scons minimum version requirement 2014-11-25 11:39:19 -05:00
Spencer T Brody
10cf936a36 SERVER-15496 Remove legacy replication code 2014-11-20 11:38:11 -05:00