Commit Graph

172 Commits

Author SHA1 Message Date
Jennifer Peshansky
f9c7dc1cc2 SERVER-65275 Add dependency on PCRE2 library 2022-04-25 20:08:58 +00:00
Andrew Morrow
51918a385a SERVER-61305 Disallow --use-system-abseil-cpp 2022-03-28 22:47:49 +00:00
Daniel Moody
6dd404e028 SERVER-61856 SERVER-42470 update libunwind to 1.6.2 2022-03-12 05:00:44 +00:00
Justin Seyster
26bab13661 SERVER-61008 Upgrade vendorized mozjs to esr91.3
Co-authored-by: Mohammad Dashti <mdashti@gmail.com>
2022-03-07 12:08:01 -05:00
Gregory Noma
b0efdc89bb SERVER-49230 Upgrade Zstandard to 1.5.1 2022-01-28 14:52:52 +00:00
Mohammad Dashti
44eaf87f83 SERVER-61008 Rename mozjs-60 directory to mozjs 2021-12-01 19:32:44 +00:00
Andrew Morrow
b7aeb64343 SERVER-54487 Third-party shim libraries do not need to be linked to or installed 2021-08-18 00:53:37 +00:00
lukebhan
691d4c3db4 SERVER-59139 refactor to use abseil for int128 2021-08-12 21:45:10 +00:00
Andrew Morrow
0c1e060e7e SERVER-48291 Remove need for individual third_party shim source files 2021-07-27 17:29:05 +00:00
Andrew Morrow
787d5a2aee SERVER-48291 Remove support for shim_cxx and shim_crt libraries 2021-07-26 18:35:34 +00:00
Andrew Morrow
625a889641 SERVER-44079 Upgrade boost from 1.70.0 to 1.76.0
This reverts commit ea13620362.
2021-05-13 18:26:13 +00:00
Mark Benvenuto
a2826e8269 SERVER-48258 Upgrade yaml-cpp 0.6.3 2021-05-11 00:59:15 +00:00
Andrew Morrow
ea13620362 Revert "SERVER-44079 Upgrade boost from 1.70.0 to 1.76.0"
This reverts commit 971ede4ef4.
2021-05-07 19:06:57 +00:00
Andrew Morrow
971ede4ef4 SERVER-44079 Upgrade boost from 1.70.0 to 1.76.0 2021-05-07 13:09:18 +00:00
Andrew Morrow
02d43e6da4 SERVER-55836 Use forceincludes for mozjs integration 2021-05-06 00:47:37 +00:00
Mohammad Dashti
0c7ff5fc51 SERVER-56371 Upgrade timelib to 2021.06 2021-04-27 04:47:22 +00:00
Andrew Morrow
0f07d8b7e2 SERVER-51479 Upgrade valgrind header from 3.14.0 to 3.17.0 2021-04-26 22:27:02 +00:00
Mohammad Dashti
077cb322d1 SERVER-56213 Upgrade timelib to 2021.05 or later 2021-04-21 19:02:58 +00:00
Mohammad Dashti
6282628930 SERVER-55725 Upgrade timelib to 2021.02 or later 2021-04-12 18:58:07 +00:00
Daniel Moody
6425c57400 SERVER-30815 Added linter to check for unnecessary PUBLIC libdeps, and added schema versioning. 2020-12-16 07:27:36 +00:00
Ryan Egesdahl
b0120ee8b2 SERVER-48291 Ensure runtime is dynamically linked in dynamic builds
Prior to this point, a dynamic build might have resulted in some runtime
libraries being statically linked into shared objects and executables in
cases where "shared" runtime libraries were actually linker scripts that
linked static versions. This was the case with the MongoDB toolchain and
some distro toolchains, including those installed as updated compiler
versions in RHEL.

The effect of having runtime libraries statically linked was that
symbols from those libraries would end up scattered over the compiled
objects, increasing object sizes and slowing down server startup. Now,
whenever a dynamic build is selected, the user can choose whether to
create "shim" runtime libraries that wrap the static ones.

The default behavior remains as it was before, and dynamic runtime must
be enabled in order to use it.
2020-12-09 16:16:17 +00:00
Kaloian Manassiev
710aa34bd1 Revert "SERVER-48291 Ensure runtime is dynamically linked in dynamic builds"
This reverts commit 2a0e76082b.
2020-11-26 17:28:35 +00:00
Ryan Egesdahl
2a0e76082b SERVER-48291 Ensure runtime is dynamically linked in dynamic builds
Prior to this point, a dynamic build might have resulted in some runtime
libraries being statically linked into shared objects and executables in
cases where "shared" runtime libraries were actually linker scripts that
linked static versions. This was the case with the MongoDB toolchain and
some distro toolchains, including those installed as updated compiler
versions in RHEL.

The effect of having runtime libraries statically linked was that
symbols from those libraries would end up scattered over the compiled
objects, increasing object sizes and slowing down server startup. Now,
whenever a dynamic build is selected, the user can choose whether to
create "shim" runtime libraries that wrap the static ones.

The default behavior on Linux is that dynamic builds will detect whether
runtime libraries are linker scripts and create shim libraries if any are
found. On Windows, the default is to always use a dynamic runtime library
with dynamic builds. For other platforms, the prior behavior remains
unchanged.
2020-11-26 08:56:00 +00:00
Ryan Egesdahl
82ef215122 SERVER-48291 Add global dependency pushdown to libdeps
We sometimes have situations where a dependency applies at a large
scope, such as in the case of tcmalloc, which can apply everywhere. What
we have done previously is to hack these dependencies into the LIBDEPS
environment variable by adding a builder to all nodes that can produce a
compiler result. This is, as stated previously, hackish and hard to
control, and it results in adding a Public dependency to all those
nodes.

What we now do instead is to define LIBDEPS_GLOBAL on the *build
environment* (not the Builder node) listing the targets we would like to
push down to all other nodes below that point. This has the effect of
adding those targets as Private dependencies on all Builder nodes from
that point downward, which means some common Public dependencies can be
converted to a Private dependency that is stated only once.
2020-11-26 08:56:00 +00:00
Mark Benvenuto
fcf154287c SERVER-50357 Add daily no-ssl build to evergreen 2020-10-05 16:17:13 +00:00
Daniel Moody
a81e107047 SERVER-49168 made SYSLIBDEPS_PRIVATE type and switched lzma to use it 2020-08-27 21:35:32 +00:00
Daniel Moody
ad84ed6435 SERVER-49703 Added libdep linter alphabetic rule and update all libdeps list to be alphabetical 2020-08-27 06:21:15 +00:00
Daniel Moody
8f42fecbea SERVER-49760 Added libdep lint rule to enforce no public libdeps. 2020-08-25 22:29:28 +00:00
Daniel Moody
cc68e42e8d SERVER-49761 Added libdeps rule for leaf node no dependencies 2020-08-21 20:17:47 +00:00
Ryan Egesdahl
6161c02d0d SERVER-50167 Upgrade gperftools to v2.8 2020-08-13 23:50:58 +00:00
Daniel Moody
d986854f5e SERVER-48638 Added LibdepsLinter to enforce LIBDEPS rules 2020-07-23 21:52:22 +00:00
Andrew Morrow
5394c832f0 SERVER-49141 Ensure that LIBDEPS for libunwind do not accidentally become public 2020-06-29 18:00:54 +00:00
Tess Avitabile
3ea60282c8 Revert "SERVER-44278 Upgrade timelib to 2018.03"
This reverts commit 22d98e72ac.
2020-06-29 14:07:33 +00:00
Ryan Egesdahl
307c909b4a SERVER-40147 Upgrade third-party variant from 1.3.0 to 1.4.0
We use a third-party implementation of std::variant on platforms that do
not include it. This change simply upgrades the third-party source to
the most recent release and then fixes the way we actually depend on it.
2020-06-26 17:47:49 +00:00
Ryan Egesdahl
22d98e72ac SERVER-44278 Upgrade timelib to 2018.03
This is a third-party source upgrade of timelib to version 2018.03.
2020-06-26 17:02:46 +00:00
Andrew Morrow
78168e2c40 SERVER-48546 Reduce scope of libraries injected via libbase 2020-06-25 19:45:49 +00:00
Ryan Egesdahl
1845ea3114 SERVER-48273 SERVER-48273 Backport yaml-cpp CVE fixes from 0.6.3 to 0.6.2
Backport the following yaml-cpp CVE fixes from version 0.6.3 to version 0.6.2:
  * CVE-2019-6292
  * CVE-2019-6285

Also, backport one fix from 0.6.3 for failing VS2017 builds.

We were previously downloading a source archive for yaml-cpp. To support
easily backporting fixes, it's changed to use git instead.
2020-05-20 20:26:44 +00:00
Ryan Egesdahl
2dc2b30e10 SERVER-40711 Update zstd dependency from version 1.4.3 to 1.4.4
The zstandard library has a new version that is supposed to have an 8%
increase in compression speed. This is a simple dependency version bump.
2020-05-15 16:21:47 +00:00
Billy Donahue
cbfc03979e SERVER-41567 Upgrade google-benchmark to tag mongo-v1.5.0 2020-05-09 17:27:43 +00:00
Andrew Morrow
82cf48411f SERVER-27675 Make all targets depend on the allocator shim to topsort it last 2020-02-21 17:55:11 +00:00
Billy Donahue
c1e1c591e6 SERVER-45677 libunwind on by default where possible
- tcmalloc to not use libunwind API, as it uses slow cursor steps.
  - Remove UNW_LOCAL_ONLY from CXXFLAGS everywhere.
2020-02-14 16:58:34 +00:00
William Schultz
97f3babf78 Revert "SERVER-45677 libunwind on by default where possible"
This reverts commit 969151e9ab.
2020-02-06 02:45:35 +00:00
Billy Donahue
969151e9ab SERVER-45677 libunwind on by default where possible
- SCons configure to probe for libunwind support
    - gracefully handle SIGUSR2 without libunwind
    - integrate libunwind on-by-default (linux-x86_64) into evergreen
2020-02-05 21:00:41 +00:00
Andrew Morrow
93cfea46d9 SERVER-44549 Remove the mobile storage engine
mode change 100644 => 100755 buildscripts/evergreen_task_timeout.py
 delete mode 100644 buildscripts/resmokeconfig/suites/disk_mobile.yml
 delete mode 100644 src/mongo/db/storage/mobile/SConscript
 delete mode 100644 src/mongo/db/storage/mobile/mobile_index.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_index.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_index_test.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_init.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_options.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_options.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_options.idl
 delete mode 100644 src/mongo/db/storage/mobile/mobile_options_mongod.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store_test.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_recovery_unit.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_recovery_unit.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_session.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_session.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_session_pool.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_session_pool.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_sqlite_statement.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_sqlite_statement.h
 delete mode 100644 src/mongo/db/storage/mobile/mobile_util.cpp
 delete mode 100644 src/mongo/db/storage/mobile/mobile_util.h
 delete mode 100755 src/third_party/scripts/sqlite_get_sources.sh
 delete mode 100644 src/third_party/shim_sqlite.cpp
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/SConscript
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/patches/gethostuuid.patch
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/shell.c
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3.c
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3.h
 delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3ext.h
2020-02-03 17:38:53 +00:00
Henrik Edin
5d9ecdd0bc SERVER-43710 Upgrade Zstandard to version 1.4.3 2019-10-09 13:19:40 +00:00
Andrew Morrow
dc1afe419b SERVER-42787 Handle missing third party modifications more gracefully 2019-08-14 18:30:34 +00:00
A. Jesse Jiryu Davis
cbead44094 SERVER-36242 Optionally use libunwind for backtraces 2019-07-17 10:49:15 -04:00
Billy Donahue
3abf0cce9d SERVER-33259 add libunwind to third_party
- revert commit f8c69b3613.
    - clang-format
    - work around ninja module $ASPP assertion
2019-07-15 14:09:45 -04:00
Xiangyu Yao
f8c69b3613 Revert "SERVER-33259 add libunwind to third_party"
This reverts commit d6bd2c5885.
2019-07-15 11:51:42 -04:00
Billy Donahue
d6bd2c5885 SERVER-33259 add libunwind to third_party 2019-07-15 11:32:31 -04:00