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

989 Commits

Author SHA1 Message Date
Andrew Morrow
8ba48088a3 SERVER-10726 Orthogonalize debugging and optimization options
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.
2013-09-16 17:36:35 -04:00
matt dannenberg
3145d2440b SERVER-8684 added a CCPDEFINE to cause newer system versions of boost to use the thread version we do 2013-09-16 11:17:44 -04:00
Andrew Morrow
73ce2fd28b SERVER-9766 Don't fail the build on missing system libraries unless they are in demand 2013-09-11 16:46:52 -04:00
Andrew Morrow
f0deda49e3 SERVER-9766 Remove support for separate client driver package 2013-09-11 16:46:52 -04:00
Eric Milkie
b91195fe8f SERVER-9770 introduce new scons flag to optionally build with /MD 2013-09-06 15:22:24 -04:00
Andrew Morrow
23b676781c Retain frame pointers when building with clang sanitizers 2013-08-15 10:13:09 -04:00
Andrew Morrow
3ffea6597a SERVER-10401 Suppress tautology warning in v8 triggered when using clang-3.4 2013-08-01 16:24:59 -04:00
Andy Schwerin
1158aa623d SERVER-9670 Eliminate MONGO_LIBDEPS_* global environment variables from SCons. 2013-07-09 17:49:14 -04:00
Andrew Morrow
2eceeb6202 SERVER-9881 Use presence of a certain type_trait to detect libstdc++ 4.6.0 or better 2013-07-02 13:35:15 -04:00
Tad Marshall
1c53e2b9e9 SERVER-9775 Remove use-system-sm option 2013-06-24 19:54:43 -04:00
Tad Marshall
eb7ba8adc1 SERVER-9775 Remove SpiderMonkey 2013-06-24 17:26:06 -04:00
Andrew Morrow
57a4875807 SERVER-9761 Enforce immediate binding of all symbols at process startup 2013-06-24 17:10:21 -04:00
Tad Marshall
54f25e6292 SERVER-7080 Link to backtrace, backtrace_symbols and backtrace_symbols_fd at runtime
Do not make direct calls to backtrace, backtrace_symbols or backtrace_symbols_fd,
which are present in Solaris 11 but not in Solaris 10.  Instead, see if they are
available in a loaded library (which will be libc.so.1) at runtime and either
call them or call an emulation.
2013-06-20 11:53:23 -04:00
Andrew Morrow
58f82cf66d SERVER-9890 Force the use of gnulink on solaris, since we always link through the compiler 2013-06-13 17:02:51 -04:00
Andrew Morrow
713734e413 SERVER-9881 Reject attempts to build in C++11 mode with ancient libstdc++ 2013-06-10 12:14:06 -04:00
Andrew Morrow
eb5b8b0226 SERVER-8467 Don't pass -rdynamic on OS X
On OS X, clang ignores -rdynamic, but issues a warning, which can
be a problem if -Werror is in effect. Remove the flag because
-rdynamic is not needed on OS X.
2013-06-08 12:35:23 -04:00
Andrew Morrow
ce97dc76c6 SERVER-6514 Only apply -zdefs and --as-needed to shared client library 2013-06-06 13:39:50 -04:00
Andrew Morrow
75095e78e0 SERVER-9410 Permit use of Interlocked operations on Windows Server 2003 2013-06-04 16:59:34 -04:00
Andrew Morrow
2e7d108efe SERVER-6951 SERVER-9656 SERVER-9849 Handle third_party libraries consistently 2013-06-03 20:57:46 -04:00
Rogério Brito
ec4e8f3ea7 SERVER-9656 Use libstemmer when using system libraries.
Signed-off-by: Andrew Morrow <acm@10gen.com>
2013-06-03 20:57:46 -04:00
Andrew Morrow
da8c0fa929 SERVER-6514 Re-add support for building the C++ driver shared library 2013-06-03 20:21:13 -04:00
agralius
f2bf885d38 SERVER-7902 added support for global /etc/mongorc.js
The corresponding Windows path is
%SYSTEMROOT%\system32\drivers\etc\mongorc.js
2013-05-06 16:40:04 -04:00
Andrew Morrow
2daa35d735 Provide an option to tunnel the calling shell environment 2013-05-02 18:59:12 -04:00
Andrew Morrow
e801393010 SERVER-8465 Provide a way to tell scons to honor $CC and $CXX 2013-05-02 18:59:12 -04:00
Andrew Morrow
4a27c92015 Rely more exclusively on SCons to locate MS tools 2013-04-26 11:45:36 -04:00
Andrew Morrow
128b0cb3b4 Handle gcc options parsing peculiarity for -Wno- flags 2013-04-26 11:08:34 -04:00
Andrew Morrow
bc532c817a Don't suppress configure checks during --clean 2013-04-26 11:08:25 -04:00
Mathias Stearn
8cc2ab561e Fix buildbot due to what we think is a bug in g++-4.6 2013-04-24 16:38:01 -04:00
Mathias Stearn
2d30f0b562 Add -Wno-unused-typedefs to unbreak building with g++-4.8 2013-04-24 10:33:55 -04:00
Andy Schwerin
2d8e983197 SERVER-8813 Switch C++ client and shell code for SASL authentication to use the Cyrus SASL library.
Replaces gsasl implementation in clients.
2013-04-22 13:02:47 -04:00
Andrew Morrow
53d7bcd4ed SERVER-8969 Support specifying minimum windows version to build 2013-04-08 20:58:23 -04:00
Andrew Morrow
ad60f1bdac Add support for new sanitizers in clang 3.3 and gcc 4.8 2013-04-08 20:58:23 -04:00
Andrew Morrow
224a7bb7f6 SERVER-9002 Fix indentation issue with compiler detection bodies 2013-03-23 15:43:06 -04:00
Andrew Morrow
1b2a4e07f2 SERVER-8463 Make control of link time optimization explicit 2013-03-23 11:19:59 -04:00
Andrew Morrow
037ccf6382 Add option for slightly faster sconsing 2013-03-23 11:19:59 -04:00
Andrew Morrow
6286ed8d31 SERVER-9002 Some preliminary work towards knowing what toolchain we are using 2013-03-23 11:19:59 -04:00
Andrew Morrow
00421d40cb Work around old GCC that doesn't understand -Wno-error 2013-03-16 12:45:54 -04:00
Andrew Morrow
a7e6e1fa8b SERVER-8464 For C++11 builds, specify C99 mode for any C compiles 2013-03-15 20:24:49 -04:00
Andrew Morrow
e01d425eef SERVER-8842 Apply OS X minimum version flag to build 2013-03-15 20:24:49 -04:00
Andrew Morrow
1426de920e SERVER-8676 Add libc++ support when building with clang 2013-03-15 20:24:49 -04:00
Andrew Morrow
e08eb0176c SERVER-8464 Add C++11 support to build system 2013-03-15 20:24:49 -04:00
Andrew Morrow
054ac98b9a SERVER-8466 SERVER-8467 Clang support and autodetection 2013-03-15 20:24:49 -04:00
Andrew Morrow
97e9f84c29 Options to adorn variant dir, including with current branch 2013-03-15 20:24:49 -04:00
Andy Schwerin
0c1895dae4 SCons: Make glibc check a function of --release flag, not presence of --s3dist on command line.
Release builds of mongo on Linux are not supposed to depend on symbols from
GLIBC2.4.  Prior to this patch, we enforced this by adding a post build option
to Program steps on linux when s3dist appeared on the command line, unless
suppressed by --no-glibc-check.  In this patch, we instead add the post build
option if --release is set on the command line, unless suppressed by the
--no-glibc-check.  Without this change, the s3dist rule can cause unnecessary
relinking of the programs to be archived and pushed.
2013-02-22 13:35:39 -05:00
Eric Milkie
14b14fe13b SERVER-8459 add command line flag to enable FIPS mode
See internal SSL build instructions for use of this flag.
2013-02-08 10:13:48 -05:00
Eliot Horowitz
bc8a25a7f0 scons fixes for fts and --32 2012-12-31 10:58:26 -05:00
Eliot Horowitz
d2df300721 SERVER-380: Add snowball stemmer 2012-12-25 12:25:45 -05:00
Shaun Verch
8214e8666e SERVER-7513 Build tcmalloc on mac 2012-12-24 09:59:09 -08:00
Eliot Horowitz
14a2ac2ff9 add static-libstdc++ option to scons 2012-12-23 02:37:03 -05:00
Hari Khalsa
6da0f1c47c clean up geo parsing a bit 2012-12-18 09:44:00 -05:00