summaryrefslogtreecommitdiff
path: root/SConstruct
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-13944 Switch back to -fPIC instead of -fPIE to fix RHEL6.2 build.Andy Schwerin2014-05-161-2/+2
| | | | | | | On RHEL6 builders, the -fPIE compiler flag causes the mongo shell to make a pure virtual function call inside the V8 engine at startup. Since the swtitch to -fPIE was unnecessary for SERVER-13944, switching back to -fPIC pending investigation.
* SERVER-13961 Get rid of the DB_LEVEL_LOCKING_ENABLED macroKaloian Manassiev2014-05-161-6/+0
| | | | We will no loger build with global locking on.
* SERVER-13944 New stack dump format, on non-Windows systems.Andy Schwerin2014-05-151-4/+2
| | | | | | Implementation of the "somap" object, which can be used to identify the correct binary from which to extract debug symbols and supports ASLR, is only implemented on Linux. Other POSIX systems still need work to implement that object.
* SERVER-13892: Compiler FixesMark Benvenuto2014-05-091-0/+7
|
* SERVER-12064 SERVER-12283 Use gcc atomic builtins if availableRobie Basak2014-05-091-0/+24
| | | | | | | | | Switch to using gcc atomic builtins for atomic operations if using a new enough gcc and clang and support is available. Otherwise, fall back to the old behaviour of existing non-portable inline assembly to continue to support builds on older versions of gcc. Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-13795 rename test binary to dbtestRandolph Tan2014-05-021-1/+1
|
* SERVER-13724 Add --disable-warnings-as-errors scons optionErnie Hershey2014-05-011-1/+5
| | | | | | | | This change was prompted by attempts to build 2.6.0 in SLES 10 with its system gcc version 4.1.2. It builds fine other than a sole warning - src/third_party/boost/boost/thread/detail/thread.hpp:316: warning: type attributes are honored only at type definition. It should also help in cases where compilers are too new.
* SERVER-13686 Do not change the variant directory based on the JS engine ↵Andy Schwerin2014-05-011-1/+1
| | | | | | | | being compiled. Having the variant directory contain the JS engine name can actually increase the time required to switch JS engines, because the only code that must compile when you switch is the new JS engine and a small handful of support files.
* SERVER-13686 V8 3.25 scripting engine. Disabled by default. Enable using ↵Benety Goh2014-05-011-4/+10
| | | | SCons flag js-engine=v8-3.25
* SERVER-13762 added configure check for POSIX system - replaces existing ↵Benety Goh2014-04-281-3/+24
| | | | checks for unistd.h and clock_gettime
* SERVER-13453 Strip C++ client driver artifacts from the server treeAndrew Morrow2014-04-191-5/+0
|
* SERVER-1120 OpenBSD PortColin Stolley2014-04-181-1/+2
| | | | | | | | | | | | | This patch should enable building on OpenBSD 5.4. - added a processinfo implementation based heavily off of the same code for freebsd. - fixed a few scons problems in mongo and v8 - added __openbsd__ directives to s2 build - Don't disturb bswap() functions on freebsd. - Fixed indentation sloppiness. No code changes. Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
* SERVER-13527 Enable C++11 automatically when reasonable to do soAndrew Morrow2014-04-161-21/+89
|
* SERVER-13527 Eliminate unused module tests facilityAndrew Morrow2014-04-161-3/+1
|
* SERVER-13544 Enable gperftools for C++11 buildsAndrew Morrow2014-04-141-7/+0
| | | | | | | | | | | | | | | | | | The following change was backported: https://code.google.com/p/gperftools/source/detail?r=18fbc316eebea9db2d7ec41e161c0a3fbb09fa42 Another change we wanted was: https://code.google.com/p/gperftools/source/detail?r=6287bbbbad8730712cfd1ee28ecc0648cbaa9f94# However, since that patch must hit every PR/SC instance and the code has evolved from that point we instead just ran the following two scripts over the gperftools source tree: find . -type f | xargs egrep -l '"PR\w+"' | xargs perl -pi -e 's|"PR(\w+)"|" PR\1 "|g' find . -type f | xargs egrep -l '"SC\w+"' | xargs perl -pi -e 's|"SC(\w+)"|" SC\1 "|g' and then manually fixing up the one reference to GPRIuPTHREAD, which achieved the same result. Finally, remove the logic preventing mixture of C++11 and gperftools from the build system.
* SERVER-13559 Remove legacy debugging flags and honor zero arg invocations of ↵Andrew Morrow2014-04-111-77/+25
| | | | dbg and opt
* SERVER-12189 Enable libstdc++ debugging features for debug builds when possibleAndrew Morrow2014-04-111-19/+51
|
* SERVER-12255 Use tcmalloc on 32-bit linux and darwin as wellAndrew Morrow2014-04-071-3/+1
|
* SERVER-12255 Be explicit about target micro-architecture for 32-bit x86 buildsAndrew Morrow2014-04-071-1/+35
|
* SERVER-5553 Eliminate malloc from printStacktrace(std::ostream&).Andy Schwerin2014-04-031-0/+3
| | | | | | | This also opens the exciting possibility of displaying the base address of the file containing the address, which would let us dump stacks when ASLR is in use. However, this implementation preserves the format used in the Linux backtrace_symbols() implementation.
* SERVER-12572 Informatively fail attempts to build C++ client driver targetsAndrew Morrow2014-03-041-46/+23
| | | | | | | The MongoDB C++ client driver now resides in a separate repo and is maintained independently of the server. The targets in this repo that used to build or test the driver will now print an error message explaining the change and referring users to the relevant documentation.
* Do not include cpppath/extrapath/libpath when generating output locationKaloian Manassiev2014-02-251-5/+5
| | | | | Otherwise, if libraries are used which have deeper paths, the ouput path becomes really long and builds fail due to excessively long command line.
* SERVER-12682 Add warning on OS X if libc++ is selected and osx-version-min ↵Nikolaus Demmel2014-02-181-0/+5
| | | | | | is < 10.7. Signed-off-by: Andrew Morrow <acm@10gen.com>
* SERVER-12304 Query concurrency -- 2.6 regressionMark Benvenuto2014-02-181-1/+8
|
* SERVER-11106 Detect non-enterprise MSI configurationsErnie Hershey2014-02-121-0/+1
|
* SERVER-10324 Allow modules to add files to different archive subdirectoriesErnie Hershey2014-01-281-0/+2
| | | | | | This CR is 1 of 2 covering the open source server repo component of https://jira.mongodb.org/browse/SERVER-10324. It supplants http://codereview.10gen.com/4892644241047552/
* SERVER-12456 Also pass stack protector option to the link stepAndrew Morrow2014-01-251-0/+2
|
* SERVER-12403 permit use-system-boost on Windows to work with autolib linkingEric Milkie2014-01-231-32/+9
|
* SERVER-12421 - detect sasl library properly for C++ driver on WindowsEric Milkie2014-01-231-1/+5
|
* SERVER-12166: Promote struct/class mismatch warning to error with GCC/ClangMark Benvenuto2013-12-311-7/+6
|
* SERVER-10142: Eliminate Compiler Warnings on Windows BuildersMark Benvenuto2013-12-181-1/+8
| | | | BF-60:compile broken on windows
* SERVER-11689 Always link libgcc statically if linking libstdc++ staticallyAndrew Morrow2013-11-271-1/+1
|
* SERVER-11575 Added support for YAML Config FileShaun Verch2013-11-131-0/+5
|
* SERVER-6950 Add a TCMalloc ServerStatusSectionMathias Stearn2013-11-121-0/+1
|
* SERVER-9855 Add support for specifying Mavericks as the OS X minimum versionAndrew Morrow2013-11-051-1/+1
|
* SERVER-9855 Remove obsolete darwin configuration optionsAndrew Morrow2013-11-051-14/+1
| | | | | | | - We want to use whatever compiler SCons tooling picks now that we support clang. - /usr/64 isn't a thing on modern Darwin (at least since 10.6, which is our minimum) - It probably never made sense to look in /usr/64/include for anything - If you want to use MacPorts, use --extrapath=/opt/local, similar for Fink
* SERVER-11333 Add build flag to suppress use of __declspec(thread)Andrew Morrow2013-10-241-17/+20
|
* SERVER-11333 Use configure time checks and posix feature tests to select TSP ↵Andrew Morrow2013-10-241-0/+43
| | | | implementation
* SERVER-11264 Include OS X minimum version flag on link linesAndrew Morrow2013-10-181-1/+3
|
* SERVER-10830 msi builder as an scons targetEric Milkie2013-10-091-1/+2
|
* SERVER-11084 Error when mixing --gcov and --cacheMathias Stearn2013-10-081-0/+3
|
* SERVER-11053 Support use of CacheDir rather than Brobdingnagian variant ↵Andrew Morrow2013-10-071-7/+27
| | | | directory names
* SERVER-10808 add __gcov_flush() call on exitMike Grundy2013-10-031-0/+1
| | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-10816 enable StackChecker when not optimized and in debug mode rather ↵matt dannenberg2013-09-251-0/+2
| | | | than when simply in debug mode
* SERVER-10401 Disable new clang-3.4 warningAndrew Morrow2013-09-181-0/+4
|
* SERVER-10726 Orthogonalize debugging and optimization optionsAndrew Morrow2013-09-161-97/+188
| | | | | | | | | | | | | Introduce new flags --dbg and --opt which permit independent control over optimization and debugging. The old --d, --dd, and --release flags were not independent, and had surprising interactions, particularly on Windows. The old flags are still supported in a legacy mode for --d and --dd builds, cannot be mixed with the new. For builds specifying none of --dbg, --opt, --d, or --dd, there should be no behavior change, except on Windows. On that platform, a no-flags-specified build will now default to optimization enabled, whereas before it did not.
* SERVER-8684 added a CCPDEFINE to cause newer system versions of boost to use ↵matt dannenberg2013-09-161-0/+1
| | | | the thread version we do
* SERVER-9766 Don't fail the build on missing system libraries unless they are ↵Andrew Morrow2013-09-111-21/+11
| | | | in demand
* SERVER-9766 Remove support for separate client driver packageAndrew Morrow2013-09-111-12/+0
|
* SERVER-9770 introduce new scons flag to optionally build with /MDEric Milkie2013-09-061-11/+19
|