Commit Graph

1349 Commits

Author SHA1 Message Date
Mark Benvenuto
1eb8f7320c SERVER-32748 Split ssl_manager.cpp into openssl specific and general components. 2018-01-30 10:52:20 -05:00
Mark Benvenuto
494dbd0089 Revert "SERVER-32748 Split ssl_manager.cpp into openssl specific and general components."
This reverts commit f627a7ee4e.
2018-01-29 15:42:29 -05:00
Mark Benvenuto
f627a7ee4e SERVER-32748 Split ssl_manager.cpp into openssl specific and general components. 2018-01-29 13:12:49 -05:00
Robert Guo
cf0403879f SERVER-32954 Remove Benchmark from scons' all target temporarily. 2018-01-29 11:14:59 -05:00
Robert Guo
8d9b68094c SERVER-32785 integrate Google Benchmark with SCons 2018-01-27 11:39:46 -05:00
Sara Golemon
625c113613 SERVER-32753 Implement basic crypto functions for OSX 2018-01-22 12:36:33 -05:00
Sara Golemon
b1ef36a802 SERVER-32738 Add --ssl-provider build option 2018-01-18 14:28:28 -05:00
Henrik Edin
c2bc565426 SERVER-32409 Android variable file to configure to build with Android NDK standalone toolchain. 2018-01-09 11:10:04 -05:00
Henrik Edin
d001b9fe00 SERVER-32408 Expose PROGSUFFIX variable so we can change the file ending for executables when cross compiling. 2018-01-09 11:01:08 -05:00
Henrik Edin
5fdcba0afa SERVER-32405 Support calling ar with temp file to support long command lines. (not available for libtool) 2017-12-29 12:30:20 -05:00
Randolph Tan
800f84351f Revert "SERVER-32405 Support calling ar with temp file to support long command lines"
This reverts commit 0061597348.
2017-12-28 18:06:18 -05:00
Henrik Edin
0061597348 SERVER-32405 Support calling ar with temp file to support long command lines 2017-12-28 16:42:45 -05:00
Henrik Edin
36276843b3 SERVER-32404 Expose AR environment variable for archiver from SCons. 2017-12-28 16:41:01 -05:00
Sara Golemon
fe8890ff67 SERVER-31498 Partial revert; keep ignoring unused-lambda-capture 2017-11-28 20:50:08 -05:00
Sara Golemon
cd3e301115 SERVER-31498 Make build more clang5 friendly
* Remove unused lambda capture variables
* Resolve signed/unsigned comparisons
* Apply upstream MozJS bugfix 1390214 [1]

1 - a6da168bd0 (diff-56d2d8dc33027ea7d747c116640db8ac)
2017-11-22 13:50:30 -05:00
Geert Bosch
1855ca0072 SERVER-31875 Do not dedupe symbols on OS X debug builds 2017-11-17 14:13:25 -05:00
Mathias Stearn
607dfa5b58 SERVER-31779 Make --detect-odr-violations optional and have builder opt-in
This reduces the time to relink the world (after deleting all .so's and
binaries) from 247s to 19s.
2017-11-01 14:18:08 -04:00
ADAM David Alan Martin
400b86d296 SERVER-31061 Add mongo+srv:// support for URIs.
The shell now supports parsing and handling `mongo+srv://` style URIs,
as part of the DNS Seedlist support.  These URIs require DNS SRV and
TXT record lookups, for extra configuration options.  The shell also
supports a (limited) form of connection-failover -- when initially
connecting to a non-replica-set cluster, the shell will try each
host listed, in order, until a connection can be established.
2017-10-31 15:49:49 -04:00
Mark Benvenuto
98c383e7e7 SERVER-17414 Enable Warnings As Errors on Windows, and disable/fix warnings 2017-10-20 17:11:32 -04:00
Andrew Morrow
f1884ccb8b SERVER-30278 SCons icecream integration 2017-10-10 16:11:17 -04:00
Mathias Stearn
107858d4d2 SERVER-31410 Suppress problematic clang-5 warnings 2017-10-09 15:05:24 -04:00
Ernie Hershey
7a91835a9c SERVER-31314 Update os name in macOS release tarballs 2017-10-03 20:38:27 -04:00
Andrew Aldridge
976371fdd3 SERVER-30914: Repair basic builds on OpenBSD
Closes #1172

Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
2017-09-20 11:52:56 -04:00
William Deegan
e9570ae0bc SERVER-30300 Changes to allow build to work with SCons 3.0. Entirely changes to print calls
Signed-off-by: Andrew Morrow <acm@mongodb.com>
2017-09-14 19:18:00 -04:00
Jason Carey
0fe978629f SERVER-30706 Support for non-int AtomicWord<T>
Restricts the base AtomicWord template to integral types and adds
another specialization which uses a std::atomic<uint64_t> for
non-integral types (by doing atomic 64 bit ops, then copying bytes in
and out of the user type assuming it's Trivially copyable).
2017-08-21 13:04:36 -04:00
ADAM David Alan Martin
476e861748 SERVER-24897 Configuration of DHE parameters.
Added an option to permit specifying a Diffie Hellman parameters file
in PEM format which will be passed to OpenSSL.  We also now indicate
to OpenSSL that we'd like Elliptic Curve Diffie Hellman Exchange,
if the client supports it.
2017-08-14 15:35:22 -04:00
Kaloian Manassiev
53bdf3fa8d SERVER-30299 Use the _SCL_SECURE_NO_WARNINGS flag on Windows 2017-08-07 13:36:23 -04:00
Andrew Morrow
a8a1ea3b93 SERVER-26538 SERVER-26539 Detach from boost::thread
Also, use thread_local everywhere for our thread specific data needs
and remove the legacy support.
2017-08-02 23:29:55 -04:00
Mark Benvenuto
ba6674f43b SERVER-30199 Fix --use-system-boost 2017-07-27 15:03:20 -04:00
Mathias Stearn
b35c594738 SERVER-29887 address clang-4.0 warnings in geo code 2017-07-26 15:13:34 -04:00
Ted Tuckman
bfc52fd48f SERVER-29981 write transport layer to connect c driver to embedded capi 2017-07-20 12:59:09 -04:00
Tyler Kaye
1517a5dd83 SERVER-28225 Removed boost::shared_pointer check in SConstruct 2017-06-22 16:31:29 -04:00
Andrew Morrow
28b670f8eb SERVER-29712 Use more architecture knowledge for cache line sizing 2017-06-21 14:48:59 -04:00
Andrew Morrow
e05068da49 SERVER-29712 Add a polyfill for std::hardware_constructive_interference_size 2017-06-20 09:47:22 -04:00
ADAM David Alan Martin
3542249772 SERVER-27244 Status usage compile-time error.
This change activates the compile-time checking for unused
`mongo::Status` results.  A few more `transitional_ignore`
calls were needed for a few more tests which appeared.
2017-06-19 13:08:31 -04:00
Andrew Morrow
2845061bc7 SERVER-26540 Detach from boost::chrono 2017-06-16 11:23:28 -04:00
Tyler Kaye
cde889643b SERVER-26541 Remove dependence on boost::regex() by replacing all of its instances with std::regex() 2017-06-15 17:54:00 -04:00
Mathias Stearn
08732c2bda SERVER-29595 don't include empty sanitizer blacklists 2017-06-13 17:15:28 -04:00
Andrew Morrow
672ef12fe4 SERVER-26537 Require clang 3.8, XCode 8.3, MSVC 20125 U3 to build 2017-06-12 17:23:33 -04:00
Gabriel Russell
dbfe5d9d6c SERVER-29411 link with a max line length that's less then the actual windows max line length 2017-05-31 19:22:02 -04:00
Andrew Morrow
41046adf0e SERVER-27380 Revert "Revert "SERVER-27380 Re-enable the thin archive tool""
This reverts commit b4e14a64d7.
2017-05-25 12:12:50 -04:00
Max Hirschhorn
b4e14a64d7 Revert "SERVER-27380 Re-enable the thin archive tool"
This reverts commit 3e1461b80c.
2017-05-25 08:22:58 -04:00
Andrew Morrow
3e1461b80c SERVER-27380 Re-enable the thin archive tool
This refactors the thin_archive tool to use emitters and scanners
to note that when linking to a thin archive, you must also depend on
the children of that thin archive. Failing to do so is an error,
because a changed .o does not necessarily lead to a different .a,
which would subvert the SCons dependency mechanism.

This also includes a refactoring of the ABILINK tool to use a similar
mechanism, to achieve the opposite effect. For ABILINK, we want to
depend not on the actual .so, but on the hash of its abidw result. We
use emitters, actions, and scanners to produce an associated .abidw
file for each .so we build, and then update the scanner to depend on
the .abidw of our libraries, not the library itself. This allows us to
elide needless relinks.
2017-05-24 23:42:49 -04:00
Andrew Morrow
dab9d2681c SERVER-29220 Default to archive based linking 2017-05-24 23:41:24 -04:00
dalyd
851b5d7b74 SERVER-29361: Add warning about SCONSFLAGS 2017-05-24 14:48:21 -04:00
Andrew Morrow
e40ab076f9 SERVER-29042 Propagate DEVELOPER_DIR when set 2017-05-22 19:19:36 -04:00
Andrew Morrow
d949767b4e SERVER-24388 Enforce no link warnings on darwin targets 2017-05-03 12:53:20 -04:00
Andrew Morrow
955faacc40 SERVER-27320 Enable fine grained application of whole archive extraction 2017-05-01 21:59:29 -04:00
ADAM David Alan Martin
4d6ac4793f SERVER-28691 Disable MSVC warning C4373
The MSVC compiler has warnings which alert users that the behavior
of the compiler has changed.  In the case of C4383, the compiler
used to have non-conforming behavior to C++98.  At some point this
behavior was fixed.  MongoDB's code base should not have any code
which would be adversely affected by this change, as the code is
also compiled on platforms where the native compiler is conformant
to the standard in this point.  Therefore it should be safe to
disable this warning.

The specific warning cautions that a derived class's inline
definition of a virtual function will now override a parent's
implementation, where formerly it would not.  This would happen
when the derived class's implementation specified at least one
of the parameters `const` (in such a way that the actual signature
of the function isn't changed).  MSVC incorrectly determines that
if there are two functions that differ only in a non-observable
`const` specifier, then they would have different signatures, in
many circumstances.  This would mean that the compiler resorts to
treating such functions as overloads.  The compiler now behaves
correctly for the case of override in a derived class; however,
it issues a warning.  The warning is irrelevant to us.
2017-04-20 16:20:13 -04:00
Mark Benvenuto
c776e095ac SERVER-28308 Integrate python linting for IDL into Evergreen 2017-04-18 18:18:26 -04:00