summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Guidry <trevor.guidry@mongodb.com>2022-09-20 16:52:49 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-20 18:10:53 +0000
commit9f73407dce3c81bc212c4cee6f500d00c7e0fc12 (patch)
treecd2d8029abcfc1ed471c232830cbee2f5c5e7456
parentbc998019c79c83db140317c3e59761fdd12a8c5f (diff)
downloadmongo-9f73407dce3c81bc212c4cee6f500d00c7e0fc12.tar.gz
SERVER-65046 use vertical style blocks for listing compile_flags
-rw-r--r--etc/evergreen.yml605
-rw-r--r--etc/evergreen_yml_components/variants/atlas.yml15
-rw-r--r--etc/evergreen_yml_components/variants/ibm.yml44
-rw-r--r--etc/evergreen_yml_components/variants/in_memory.yml30
-rw-r--r--etc/evergreen_yml_components/variants/misc_release.yml370
-rw-r--r--etc/evergreen_yml_components/variants/sanitizer.yml38
-rw-r--r--etc/perf.yml7
7 files changed, 929 insertions, 180 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 153f42ecb70..93a99db578a 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -76,10 +76,19 @@ variables:
modules:
- enterprise
expansions: &enterprise-windows-nopush-expansions-template
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug msi
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ msi
exe: ".exe"
content_type: application/zip
- compile_flags: --ssl MONGO_DISTMOD=windows CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --win-version-min=win10
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=windows
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib"
+ -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 ))
+ --win-version-min=win10
num_scons_link_jobs_available: 0.5
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
@@ -127,13 +136,23 @@ variables:
run_on:
- rhel70-small
expansions: &enterprise-rhel-70-64-bit-expansions-template
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-rhel70
- compile_flags: --ssl MONGO_DISTMOD=rhel70 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel70
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: rhel70
multiversion_edition: enterprise
has_packages: true
@@ -219,7 +238,14 @@ buildvariants:
- rhel80-medium
expansions:
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --enable-free-mon=on --enable-http-client=on --link-model=dynamic
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --enable-free-mon=on
+ --enable-http-client=on
+ --link-model=dynamic
scons_cache_scope: shared
scons_cache_mode: all
test_flags: --excludeWithAnyTags=requires_http_client
@@ -284,7 +310,14 @@ buildvariants:
expansions:
use_wt_develop: true
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --enable-free-mon=on --enable-http-client=on --link-model=dynamic
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --enable-free-mon=on
+ --enable-http-client=on
+ --link-model=dynamic
scons_cache_mode: all
scons_cache_scope: shared
num_scons_link_jobs_available: 0.99
@@ -310,8 +343,17 @@ buildvariants:
run_on:
- rhel80-small
expansions: &enterprise-rhel80-dynamic-v4gcc-debug-experimental-expansions
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --link-model=dynamic --variables-files=etc/scons/mongodbtoolchain_testing_gcc.vars
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --link-model=dynamic
+ --variables-files=etc/scons/mongodbtoolchain_testing_gcc.vars
has_packages: false
scons_cache_scope: shared
scons_cache_mode: all
@@ -391,21 +433,38 @@ buildvariants:
display_name: "~ Shared Library Enterprise RHEL 8.0 v4 Toolchain Clang DEBUG"
expansions:
<<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-expansions
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --link-model=dynamic --variables-files=etc/scons/mongodbtoolchain_testing_clang.vars
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --link-model=dynamic
+ --variables-files=etc/scons/mongodbtoolchain_testing_clang.vars
- <<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-template
name: enterprise-rhel80-dynamic-v4gcc-cxx20-debug-experimental
display_name: "~ Shared Library Enterprise RHEL 8.0 v4 Toolchain GCC C++20 DEBUG"
expansions:
<<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-expansions
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --link-model=dynamic --variables-files=etc/scons/mongodbtoolchain_testing_gcc.vars --cxx-std=20
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --link-model=dynamic
+ --variables-files=etc/scons/mongodbtoolchain_testing_gcc.vars
+ --cxx-std=20
- <<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-template
name: enterprise-rhel80-dynamic-v4clang-cxx20-debug-experimental
display_name: "~ Shared Library Enterprise RHEL 8.0 v4 Toolchain Clang C++20 DEBUG"
expansions:
<<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-expansions
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --link-model=dynamic --variables-files=etc/scons/mongodbtoolchain_testing_clang.vars --cxx-std=20
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --link-model=dynamic
+ --variables-files=etc/scons/mongodbtoolchain_testing_clang.vars
+ --cxx-std=20
- name: enterprise-rhel-80-64-bit-coverage
display_name: "~ Enterprise RHEL 8.0 DEBUG Code Coverage"
@@ -416,9 +475,19 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
test_flags: --excludeWithAnyTags=resource_intensive,incompatible_with_gcov
- compile_flags: --dbg=on --gcov --opt=off --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ --dbg=on
+ --gcov
+ --opt=off
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
large_distro_name: rhel80-medium
multiversion_platform: rhel80
multiversion_edition: enterprise
@@ -497,9 +566,19 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
test_flags: --excludeWithAnyTags=resource_intensive,incompatible_with_gcov
- compile_flags: --dbg=on --gcov --opt=debug --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --link-model=dynamic
+ compile_flags: >-
+ --dbg=on
+ --gcov
+ --opt=debug
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ --link-model=dynamic
large_distro_name: rhel80-medium
multiversion_platform: rhel80
multiversion_edition: enterprise
@@ -530,9 +609,19 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
test_flags: --excludeWithAnyTags=resource_intensive,incompatible_with_gcov
- compile_flags: --dbg=on --gcov --opt=off --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v4_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ --dbg=on
+ --gcov
+ --opt=off
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v4_gcc.vars
+ --link-model=dynamic
large_distro_name: rhel80-medium
multiversion_platform: rhel80
multiversion_edition: enterprise
@@ -560,9 +649,19 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
test_flags: --excludeWithAnyTags=resource_intensive,incompatible_with_gcov
- compile_flags: --dbg=on --gcov --opt=debug --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v4_clang.vars --link-model=dynamic
+ compile_flags: >-
+ --dbg=on
+ --gcov
+ --opt=debug
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v4_clang.vars
+ --link-model=dynamic
large_distro_name: rhel80-medium
multiversion_platform: rhel80
multiversion_edition: enterprise
@@ -595,7 +694,15 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
expansions:
<<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-expansions
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --link-model=dynamic --variables-files=etc/scons/mongodbtoolchain_testing_clang.vars --cxx-std=20 --experimental-optimization=* --experimental-runtime-hardening=*
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --link-model=dynamic
+ --variables-files=etc/scons/mongodbtoolchain_testing_clang.vars
+ --cxx-std=20
+ --experimental-optimization=*
+ --experimental-runtime-hardening=*
- <<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-template
name: enterprise-rhel80-v4gcc-cxx20-pm-1328-experimental
@@ -603,7 +710,14 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
expansions:
<<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-expansions
- compile_flags: --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_testing_gcc.vars --cxx-std=20 --experimental-optimization=* --experimental-runtime-hardening=* --disable-warnings-as-errors
+ compile_flags: >-
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_testing_gcc.vars
+ --cxx-std=20
+ --experimental-optimization=*
+ --experimental-runtime-hardening=*
+ --disable-warnings-as-errors
tasks: &enterprise-rhel80-dynamic-v4gcc-debug-experimental-tasks-no-unittests
- name: compile_test_and_package_parallel_core_stream_TG
distros:
@@ -677,7 +791,13 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
expansions:
<<: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-expansions
- compile_flags: --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_testing_clang.vars --cxx-std=20 --experimental-optimization=* --experimental-runtime-hardening=*
+ compile_flags: >-
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_testing_clang.vars
+ --cxx-std=20
+ --experimental-optimization=*
+ --experimental-runtime-hardening=*
tasks: *enterprise-rhel80-dynamic-v4gcc-debug-experimental-tasks-no-unittests
- name: stm-daily-cron
@@ -719,7 +839,12 @@ buildvariants:
expansions:
exe: ".exe"
content_type: application/zip
- compile_flags: --dbg=on --opt=on --win-version-min=win10 -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.8") MONGO_DISTMOD=windows
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ --win-version-min=win10
+ -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.8")
+ MONGO_DISTMOD=windows
num_scons_link_jobs_available: 0.2
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
@@ -789,9 +914,20 @@ buildvariants:
expansions:
burn_in_tests_build_variant: enterprise-windows-required
exe: ".exe"
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug msi archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ msi
+ archive-mh
+ archive-mh-debug
content_type: application/zip
- compile_flags: --ssl MONGO_DISTMOD=windows CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.8") --win-version-min=win10
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=windows
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib"
+ -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.8")
+ --win-version-min=win10
num_scons_link_jobs_available: 0.2
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
@@ -862,9 +998,20 @@ buildvariants:
expansions:
burn_in_tests_build_variant: enterprise-windows-required
exe: ".exe"
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug msi archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ msi
+ archive-mh
+ archive-mh-debug
content_type: application/zip
- compile_flags: --ssl MONGO_DISTMOD=windows CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5") --win-version-min=win10
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=windows
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib"
+ -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5")
+ --win-version-min=win10
num_scons_link_jobs_available: 0.25
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
@@ -946,9 +1093,23 @@ buildvariants:
- windows-vsCurrent-small
expansions:
exe: ".exe"
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug msi archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ msi
+ archive-mh
+ archive-mh-debug
content_type: application/zip
- compile_flags: --dbg=on --opt=on --ssl MONGO_DISTMOD=windows CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5") --win-version-min=win10 --cxx-std=20
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ --ssl
+ MONGO_DISTMOD=windows
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib"
+ -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5")
+ --win-version-min=win10
+ --cxx-std=20
num_scons_link_jobs_available: 0.25
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
@@ -999,10 +1160,20 @@ buildvariants:
run_on:
- windows-vsCurrent-small
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
exe: ".exe"
content_type: application/zip
- compile_flags: --dbg=on --opt=off --ssl MONGO_DISTMOD=windows CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5") --win-version-min=win10
+ compile_flags: >-
+ --dbg=on
+ --opt=off
+ --ssl
+ MONGO_DISTMOD=windows
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib"
+ -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5")
+ --win-version-min=win10
num_scons_link_jobs_available: 0.25
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
@@ -1036,7 +1207,13 @@ buildvariants:
test_flags: --excludeWithAnyTags=incompatible_with_macos
resmoke_jobs_max: 6
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl --dbg=on --opt=on -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx.vars
+ compile_flags: >-
+ --ssl
+ --dbg=on
+ --opt=on
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ --variables-files=etc/scons/xcode_macosx.vars
num_scons_link_jobs_available: 0.99
tasks:
- name: compile_test_and_package_serial_TG
@@ -1066,7 +1243,11 @@ buildvariants:
expansions:
test_flags: --excludeWithAnyTags=incompatible_with_macos,requires_gcm
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx.vars
+ compile_flags: >-
+ --ssl
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ -variables-files=etc/scons/xcode_macosx.vars
resmoke_jobs_max: 6
num_scons_link_jobs_available: 0.99
tasks:
@@ -1094,7 +1275,14 @@ buildvariants:
expansions:
test_flags: --excludeWithAnyTags=incompatible_with_macos,requires_gcm
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl --dbg=on --opt=on -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx.vars --cxx-std=20
+ compile_flags: >-
+ --ssl
+ --dbg=on
+ --opt=on
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ --variables-files=etc/scons/xcode_macosx.vars
+ --cxx-std=20
resmoke_jobs_max: 6
num_scons_link_jobs_available: 0.99
tasks:
@@ -1121,7 +1309,11 @@ buildvariants:
expansions:
test_flags: --excludeWithAnyTags=incompatible_with_macos,requires_gcm
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx_arm.vars
+ compile_flags: >-
+ --ssl
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ --variables-files=etc/scons/xcode_macosx_arm.vars
resmoke_jobs_max: 6
num_scons_link_jobs_available: 0.99
tasks:
@@ -1211,9 +1403,20 @@ buildvariants:
run_on:
- rhel80-small
expansions: &enterprise-rhel-80-64-bit-dynamic-required-expansions
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: rhel80
multiversion_edition: enterprise
has_packages: false
@@ -1226,7 +1429,9 @@ buildvariants:
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
large_distro_name: rhel80-medium
- burn_in_tag_buildvariants: enterprise-rhel-80-64-bit-inmem enterprise-rhel-80-64-bit-multiversion
+ burn_in_tag_buildvariants: >-
+ enterprise-rhel-80-64-bit-inmem
+ enterprise-rhel-80-64-bit-multiversion
burn_in_tag_compile_distro: rhel80-xlarge
burn_in_tag_compile_task_group_name: compile_and_archive_dist_test_TG
num_scons_link_jobs_available: 0.99
@@ -1355,7 +1560,15 @@ buildvariants:
stepback: false
expansions:
<<: *enterprise-rhel-80-64-bit-dynamic-required-expansions
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic --use-glibcxx-debug --dbg=on --allocator=system
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
+ --use-glibcxx-debug
+ --dbg=on
+ --allocator=system
- &enterprise-rhel-80-64-bit-dynamic-all-feature-flags-required-template
name: enterprise-rhel-80-64-bit-dynamic-all-feature-flags-required
@@ -1367,9 +1580,21 @@ buildvariants:
run_on:
- rhel80-small
expansions: &enterprise-rhel-80-64-bit-dynamic-all-feature-flags-expansions
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic
+ -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: rhel80
multiversion_edition: enterprise
has_packages: false
@@ -1508,8 +1733,17 @@ buildvariants:
run_on:
- rhel80-small
expansions: &enterprise-rhel-80-64-bit-dynamic-classic-engine-expansions
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
multiversion_platform: rhel80
multiversion_edition: enterprise
has_packages: false
@@ -1520,7 +1754,9 @@ buildvariants:
target_resmoke_time: 10
max_sub_suites: 5
large_distro_name: rhel80-medium
- burn_in_tag_buildvariants: enterprise-rhel-80-64-bit-inmem enterprise-rhel-80-64-bit-multiversion
+ burn_in_tag_buildvariants: >-
+ enterprise-rhel-80-64-bit-inmem
+ enterprise-rhel-80-64-bit-multiversion
burn_in_tag_compile_distro: rhel80-xlarge
burn_in_tag_compile_task_group_name: compile_and_archive_dist_test_TG
num_scons_link_jobs_available: 0.99
@@ -1627,7 +1863,9 @@ buildvariants:
- rhel80-small
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
compile_flags: >-
--ssl
MONGO_DISTMOD=rhel80
@@ -1848,8 +2086,16 @@ buildvariants:
run_on:
- rhel80-build
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: rhel80
multiversion_edition: enterprise
has_packages: true
@@ -1902,7 +2148,10 @@ buildvariants:
run_on:
- rhel80-build
expansions:
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
repo_edition: enterprise
large_distro_name: rhel80-large
num_scons_link_jobs_available: 0.1
@@ -1920,7 +2169,11 @@ buildvariants:
expansions:
num_scons_link_jobs_available: 0.1
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx.vars
+ compile_flags: >-
+ --ssl
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ --variables-files=etc/scons/xcode_macosx.vars
tasks:
- name: build_metrics_gen_TG
@@ -1932,7 +2185,11 @@ buildvariants:
- windows-vsCurrent-small
expansions:
num_scons_link_jobs_available: 0.1
- compile_flags: CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --win-version-min=win10
+ compile_flags: >-
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib"
+ -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 ))
+ --win-version-min=win10
python: '/cygdrive/c/python/python37/python.exe'
tasks:
- name: build_metrics_gen_TG
@@ -1960,7 +2217,13 @@ buildvariants:
expansions:
<<: *enterprise-rhel-70-64-bit-expansions-template
additional_package_targets: ""
- compile_flags: --ssl MONGO_DISTMOD=rhel70 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --enterprise-features=hot_backups --link-model=dynamic
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel70
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --enterprise-features=hot_backups
+ --link-model=dynamic
has_packages: false
scons_cache_mode: all
scons_cache_scope: shared
@@ -1980,7 +2243,14 @@ buildvariants:
- rhel70
expansions:
<<: *enterprise-rhel-70-64-bit-expansions-template
- compile_flags: --ssl MONGO_DISTMOD=rhel70 --use-libunwind=off --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel70
+ --use-libunwind=off
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
has_packages: false
additional_package_targets: ""
scons_cache_mode: all
@@ -2027,7 +2297,12 @@ buildvariants:
- ubuntu1804-test
expansions:
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
scons_cache_scope: shared
scons_cache_mode: all
num_scons_link_jobs_available: 0.99
@@ -2065,7 +2340,11 @@ buildvariants:
expansions:
resmoke_jobs_factor: 1
disable_shared_scons_cache: true
- compile_flags: MONGO_DISTMOD=ubuntu1804 --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ MONGO_DISTMOD=ubuntu1804
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
tooltags: ""
build_mongoreplay: true
test_flags: >-
@@ -2087,8 +2366,15 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
- compile_flags: --ssl MONGO_DISTMOD=rhel72 -j3 --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel72
+ -j3
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
resmoke_jobs_max: 2
has_packages: true
packager_script: packager_enterprise.py
@@ -2119,7 +2405,10 @@ buildvariants:
- rhel80-xxlarge
expansions:
lang_environment: LANG=C
- compile_flags: --link-model=dynamic -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_${clang_tidy_toolchain}_clang.vars
+ compile_flags: >-
+ --link-model=dynamic
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_${clang_tidy_toolchain}_clang.vars
scons_cache_scope: shared
scons_cache_mode: all
show_scons_timings: false
@@ -2152,7 +2441,12 @@ buildvariants:
- rhel80-small
expansions:
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
- compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ --dbg=on
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
scons_cache_scope: shared
scons_cache_mode: all
num_scons_link_jobs_available: 0.99
@@ -2193,7 +2487,11 @@ buildvariants:
run_on:
- rhel80-medium
expansions:
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
scons_cache_scope: shared
tasks:
- name: compile_upload_benchmarks_TG
@@ -2215,14 +2513,25 @@ buildvariants:
stepback: false
expansions:
toolchain_version: v3
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
# If you add anything to san_options, make sure the appropriate changes are
# also made to SConstruct.
san_options: >-
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1:external_symbolizer_path=/opt/mongodbtoolchain/${toolchain_version}/bin/llvm-symbolizer"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/${toolchain_version}/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_${toolchain_version}_clang.vars --dbg=on --opt=on --allocator=system --sanitize=address --ssl --ocsp-stapling=off --enable-free-mon=on -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_${toolchain_version}_clang.vars
+ --dbg=on
+ --opt=on
+ --allocator=system
+ --sanitize=address
+ --ssl
+ --ocsp-stapling=off
+ --enable-free-mon=on
+ -j$(grep -c ^processor /proc/cpuinfo)
multiversion_platform: rhel80
multiversion_edition: enterprise
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under ASAN build.
@@ -2306,14 +2615,25 @@ buildvariants:
- rhel80-build
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
# If you add anything to san_options, make sure the appropriate changes are
# also made to SConstruct.
san_options: >-
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --dbg=on --opt=on --allocator=system --sanitize=address --ssl --ocsp-stapling=off --enable-free-mon=on -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ --dbg=on
+ --opt=on
+ --allocator=system
+ --sanitize=address
+ --ssl
+ --ocsp-stapling=off
+ --enable-free-mon=on
+ -j$(grep -c ^processor /proc/cpuinfo)
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: forceClassicEngine}"
--excludeWithAnyTags=requires_fast_memory,requires_ocsp_stapling
@@ -2381,12 +2701,22 @@ buildvariants:
stepback: false
expansions:
toolchain_version: v3
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
# If you add anything to san_options, make sure the appropriate changes are
# also made to SConstruct.
san_options: UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/${toolchain_version}/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_${toolchain_version}_clang.vars --dbg=on --opt=on --sanitize=undefined --ssl --ocsp-stapling=off --enable-free-mon=on -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_${toolchain_version}_clang.vars
+ --dbg=on
+ --opt=on
+ --sanitize=undefined
+ --ssl
+ --ocsp-stapling=off
+ --enable-free-mon=on
+ -j$(grep -c ^processor /proc/cpuinfo)
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
@@ -2467,12 +2797,22 @@ buildvariants:
- rhel80-build
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
# If you add anything to san_options, make sure the appropriate changes are
# also made to SConstruct.
san_options: UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --dbg=on --opt=on --sanitize=undefined --ssl --ocsp-stapling=off --enable-free-mon=on -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ --dbg=on
+ --opt=on
+ --sanitize=undefined
+ --ssl
+ --ocsp-stapling=off
+ --enable-free-mon=on
+ -j$(grep -c ^processor /proc/cpuinfo)
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: forceClassicEngine}"
--excludeWithAnyTags=requires_ocsp_stapling
@@ -2533,7 +2873,9 @@ buildvariants:
- rhel80-build
stepback: true
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
# If you add anything to san_options, make sure the appropriate changes are
# also made to SConstruct.
@@ -2541,7 +2883,16 @@ buildvariants:
UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --dbg=on --opt=on --allocator=system --sanitize=undefined,address --ssl --ocsp-stapling=off -j$(grep -c ^processor /proc/cpuinfo) --link-model=dynamic
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ --dbg=on
+ --opt=on
+ --allocator=system
+ --sanitize=undefined,address
+ --ssl
+ --ocsp-stapling=off
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --link-model=dynamic
test_flags: --excludeWithAnyTags=requires_ocsp_stapling
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under {A,UB}SAN build.
hang_analyzer_dump_core: false
@@ -2571,7 +2922,9 @@ buildvariants:
display_name: "! Shared Library {A,UB}SAN Enterprise RHEL 8.0 DEBUG (all feature flags)"
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
# If you add anything to san_options, make sure the appropriate changes are
# also made to SConstruct.
@@ -2579,7 +2932,16 @@ buildvariants:
UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --dbg=on --opt=on --allocator=system --sanitize=undefined,address --ssl --ocsp-stapling=off -j$(grep -c ^processor /proc/cpuinfo) --link-model=dynamic
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ --dbg=on
+ --opt=on
+ --allocator=system
+ --sanitize=undefined,address
+ --ssl
+ --ocsp-stapling=off
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --link-model=dynamic
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
@@ -2620,7 +2982,9 @@ buildvariants:
- rhel80-large
stepback: false
expansions: &enterprise-rhel80-debug-tsan-expansions-template
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
toolchain_version: v3
# If you add anything to san_options, make sure the appropriate
@@ -2635,7 +2999,16 @@ buildvariants:
# of the ServiceContext.
#
san_options: TSAN_OPTIONS="halt_on_error=1:report_thread_leaks=0:die_after_fork=0:suppressions=etc/tsan.suppressions:external_symbolizer_path=/opt/mongodbtoolchain/${toolchain_version}/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_${toolchain_version}_clang.vars --dbg=on --opt=on --allocator=system --sanitize=thread --ssl --enable-free-mon=on --use-libunwind=off -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_${toolchain_version}_clang.vars
+ --dbg=on
+ --opt=on
+ --allocator=system
+ --sanitize=thread
+ --ssl
+ --enable-free-mon=on
+ --use-libunwind=off
+ -j$(grep -c ^processor /proc/cpuinfo)
# Avoid starting too many mongod's under TSAN build.
resmoke_jobs_factor: 0.3
scons_cache_scope: shared
@@ -2869,7 +3242,12 @@ buildvariants:
modules:
- enterprise
expansions:
- compile_flags: MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --use-diagnostic-latches=off --link-model=dynamic
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --use-diagnostic-latches=off
+ --link-model=dynamic
scons_cache_mode: all
scons_cache_scope: shared
num_scons_link_jobs_available: 0.99
@@ -2890,7 +3268,13 @@ buildvariants:
modules:
- enterprise
expansions:
- compile_flags: MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --dbg=on --opt=off --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --detect-odr-violations
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --dbg=on
+ --opt=off
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --detect-odr-violations
scons_cache_mode: all
scons_cache_scope: shared
num_scons_link_jobs_available: 0.99
@@ -2916,7 +3300,11 @@ buildvariants:
scons_cache_scope: shared
scons_cache_mode: all
num_scons_link_jobs_available: 0.99
- compile_flags: MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
multiversion_platform: rhel80
multiversion_edition: enterprise
test_flags: >-
@@ -2956,7 +3344,11 @@ buildvariants:
scons_cache_scope: shared
scons_cache_mode: all
num_scons_link_jobs_available: 0.99
- compile_flags: MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
multiversion_platform: rhel80
multiversion_edition: enterprise
test_flags: >-
@@ -2995,7 +3387,11 @@ buildvariants:
scons_cache_scope: shared
scons_cache_mode: all
num_scons_link_jobs_available: 0.99
- compile_flags: MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
multiversion_platform: rhel80
multiversion_edition: enterprise
test_flags: >-
@@ -3033,7 +3429,11 @@ buildvariants:
scons_cache_scope: shared
scons_cache_mode: all
num_scons_link_jobs_available: 0.99
- compile_flags: MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
multiversion_platform: rhel80
multiversion_edition: enterprise
test_flags: >-
@@ -3071,7 +3471,11 @@ buildvariants:
scons_cache_scope: shared
scons_cache_mode: all
num_scons_link_jobs_available: 0.99
- compile_flags: MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=dynamic
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --link-model=dynamic
multiversion_platform: rhel80
multiversion_edition: enterprise
test_flags: >-
@@ -3107,7 +3511,10 @@ buildvariants:
- enterprise
expansions:
scons_cache_scope: shared
- compile_flags: MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: rhel80
multiversion_edition: enterprise
test_flags: >-
@@ -3187,7 +3594,11 @@ buildvariants:
expansions:
# --link-model=dynamic is set by visiblity_test's task_compile_flags
# expansion
- compile_flags: CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --win-version-min=win10
+ compile_flags: >-
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib"
+ -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 ))
+ --win-version-min=win10
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
has_packages: false
@@ -3266,7 +3677,13 @@ buildvariants:
expansions:
# Do not set link-model=dynamic on this build. The antithesis image builder
# scripts cannot handle the shared library build
- compile_flags: --ssl --ocsp-stapling=off MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars CCFLAGS="-fsanitize-coverage=trace-pc-guard" LIBS="voidstar"
+ compile_flags: >-
+ --ssl
+ --ocsp-stapling=off MONGO_DISTMOD=ubuntu1804
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ CCFLAGS="-fsanitize-coverage=trace-pc-guard"
+ LIBS="voidstar"
multiversion_platform: ubuntu1804
multiversion_edition: enterprise
repo_edition: enterprise
@@ -3318,7 +3735,9 @@ buildvariants:
- rhel80-build
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
toolchain_version: v3
# If you add anything to san_options, make sure the appropriate changes are
@@ -3327,7 +3746,17 @@ buildvariants:
UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/${toolchain_version}/bin/llvm-symbolizer"
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/${toolchain_version}/bin/llvm-symbolizer"
- compile_flags: LINKFLAGS=-nostdlib++ LIBS=stdc++ --variables-files=etc/scons/mongodbtoolchain_${toolchain_version}_clang.vars --dbg=on --opt=on --allocator=system --sanitize=undefined,address,fuzzer --ssl --ocsp-stapling=off -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ LINKFLAGS=-nostdlib++
+ LIBS=stdc++
+ --variables-files=etc/scons/mongodbtoolchain_${toolchain_version}_clang.vars
+ --dbg=on
+ --opt=on
+ --allocator=system
+ --sanitize=undefined,address,fuzzer
+ --ssl
+ --ocsp-stapling=off
+ -j$(grep -c ^processor /proc/cpuinfo)
test_flags: --excludeWithAnyTags=requires_ocsp_stapling
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under {A,UB}SAN build.
hang_analyzer_dump_core: false
diff --git a/etc/evergreen_yml_components/variants/atlas.yml b/etc/evergreen_yml_components/variants/atlas.yml
index 660644b7711..65cd1f69312 100644
--- a/etc/evergreen_yml_components/variants/atlas.yml
+++ b/etc/evergreen_yml_components/variants/atlas.yml
@@ -9,13 +9,22 @@ buildvariants:
run_on:
- rhel70-small
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-rhel70
- compile_flags: --ssl MONGO_DISTMOD=rhel70 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=rhel70
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: rhel70
multiversion_edition: enterprise
has_packages: true
diff --git a/etc/evergreen_yml_components/variants/ibm.yml b/etc/evergreen_yml_components/variants/ibm.yml
index f20f12c9d5d..c3a6b24c7a1 100644
--- a/etc/evergreen_yml_components/variants/ibm.yml
+++ b/etc/evergreen_yml_components/variants/ibm.yml
@@ -10,10 +10,19 @@ buildvariants:
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
# We need to compensate for SMT8 setting the cpu count very high and lower the amount of parallelism down
- compile_flags: --ssl MONGO_DISTMOD=rhel81 -j$(echo "$(grep -c processor /proc/cpuinfo)/2" | bc) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel81
+ -j$(echo "$(grep -c processor /proc/cpuinfo)/2" | bc)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic
+ -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
resmoke_jobs_factor: 0.25
has_packages: true
packager_script: packager_enterprise.py
@@ -65,10 +74,19 @@ buildvariants:
cron: "0 4 * * 0"
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
release_buid: true
- compile_flags: --ssl MONGO_DISTMOD=rhel72 -j3 --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel72
+ -j3
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic
+ -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
resmoke_jobs_max: 2
has_packages: true
packager_script: packager_enterprise.py
@@ -120,10 +138,18 @@ buildvariants:
cron: "0 4 * * 0"
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
release_buid: true
- compile_flags: --ssl MONGO_DISTMOD=rhel83 -j3 --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel83
+ -j3
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
resmoke_jobs_max: 2
has_packages: true
packager_script: packager_enterprise.py
diff --git a/etc/evergreen_yml_components/variants/in_memory.yml b/etc/evergreen_yml_components/variants/in_memory.yml
index cdf07b1f20b..7681b6b32ba 100644
--- a/etc/evergreen_yml_components/variants/in_memory.yml
+++ b/etc/evergreen_yml_components/variants/in_memory.yml
@@ -9,9 +9,17 @@ buildvariants:
run_on:
- rhel80-small
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
- test_flags: --storageEngine=inMemory --excludeWithAnyTags=requires_persistence,requires_journaling
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ test_flags: >-
+ --storageEngine=inMemory
+ --excludeWithAnyTags=requires_persistence,requires_journaling
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: rhel80
multiversion_edition: enterprise
scons_cache_scope: shared
@@ -71,13 +79,23 @@ buildvariants:
run_on:
- windows-vsCurrent-small
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug msi
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ msi
exe: ".exe"
content_type: application/zip
- compile_flags: --ssl MONGO_DISTMOD=windows CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5") --win-version-min=win10
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=windows
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib" -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5")
+ --win-version-min=win10
num_scons_link_jobs_available: 0.25
python: '/cygdrive/c/python/python37/python.exe'
- test_flags: --storageEngine=inMemory --excludeWithAnyTags=requires_persistence,requires_journaling,incompatible_with_windows_tls
+ test_flags: >-
+ --storageEngine=inMemory
+ --excludeWithAnyTags=requires_persistence,requires_journaling,incompatible_with_windows_tls
ext: zip
scons_cache_scope: shared
multiversion_platform: windows
diff --git a/etc/evergreen_yml_components/variants/misc_release.yml b/etc/evergreen_yml_components/variants/misc_release.yml
index ae801b54eff..95dc79b5f4d 100644
--- a/etc/evergreen_yml_components/variants/misc_release.yml
+++ b/etc/evergreen_yml_components/variants/misc_release.yml
@@ -11,7 +11,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-amazon
- compile_flags: --ssl MONGO_DISTMOD=amazon -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=amazon
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux
multiversion_platform: amazon
multiversion_edition: targeted
@@ -61,13 +65,20 @@ buildvariants:
run_on:
- amazon1-2018-test
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-amzn64
- compile_flags: --ssl MONGO_DISTMOD=amzn64 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=amzn64
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux
multiversion_platform: amzn64
multiversion_edition: enterprise
@@ -120,7 +131,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-amazon2
- compile_flags: --ssl MONGO_DISTMOD=amazon2 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=amazon2
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: amazon2
multiversion_edition: targeted
has_packages: true
@@ -171,7 +186,9 @@ buildvariants:
run_on:
- amazon2-test
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
# TODO BUILD-13887 should fix uses_pykmip incompatibility.
test_flags: >-
--excludeWithAnyTags=SERVER-34286,incompatible_with_amazon_linux,uses_pykmip
@@ -179,8 +196,14 @@ buildvariants:
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-amazon2
- compile_flags: --ssl MONGO_DISTMOD=amazon2 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=amazon2
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: amazon2
multiversion_edition: enterprise
has_packages: true
@@ -232,7 +255,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-amazon2
- compile_flags: --ssl MONGO_DISTMOD=amazon2 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=amazon2
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux
has_packages: true
packager_script: packager.py
@@ -280,13 +307,23 @@ buildvariants:
run_on:
- amazon2-arm64-small
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-amazon2
- compile_flags: --ssl MONGO_DISTMOD=amazon2 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=amazon2
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
# TODO BUILD-13887 should fix uses_pykmip incompatibility.
test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,uses_pykmip,requires_v4_0
has_packages: true
@@ -405,7 +442,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-debian10
- compile_flags: --ssl MONGO_DISTMOD=debian10 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=debian10
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: linux_x86_64
multiversion_edition: base
multiversion_platform_42_or_later: debian10
@@ -457,13 +498,24 @@ buildvariants:
run_on:
- debian10-test
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-debian10
- compile_flags: --ssl MONGO_DISTMOD=debian10 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=debian10
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic
+ -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: linux_x86_64
multiversion_edition: base
multiversion_platform_42_or_later: debian10
@@ -514,7 +566,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-debian11
- compile_flags: --ssl MONGO_DISTMOD=debian11 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=debian11
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: linux_x86_64
multiversion_edition: base
multiversion_platform_42_or_later: debian11
@@ -566,13 +622,23 @@ buildvariants:
run_on:
- debian11-small
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-debian11
- compile_flags: --ssl MONGO_DISTMOD=debian11 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=debian11
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic
+ -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique
multiversion_platform: linux_x86_64
multiversion_edition: base
multiversion_platform_42_or_later: debian11
@@ -623,7 +689,10 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-rhel70
- compile_flags: --ssl MONGO_DISTMOD=rhel70 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=rhel70
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: rhel70
multiversion_edition: targeted
has_packages: true
@@ -673,7 +742,10 @@ buildvariants:
run_on:
- rhel76-test
expansions:
- compile_flags: --ssl MONGO_DISTMOD=rhel70 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=rhel70
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
tasks:
- name: compile_and_archive_dist_test_then_package_TG
distros:
@@ -690,7 +762,11 @@ buildvariants:
expansions:
resmoke_jobs_factor: 1
disable_shared_scons_cache: true
- compile_flags: MONGO_DISTMOD=rhel80 --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ MONGO_DISTMOD=rhel80
+ --opt=on
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
tooltags: ""
build_mongoreplay: true
test_flags: >-
@@ -713,7 +789,10 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-rhel80
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: rhel80
multiversion_edition: targeted
has_packages: true
@@ -763,13 +842,22 @@ buildvariants:
run_on:
- rhel80-small
expansions: &enterprise-rhel-80-64-bit-expansions
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-rhel80
- compile_flags: --ssl MONGO_DISTMOD=rhel80 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=rhel80
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CFLAGS="-fno-gnu-unique"
multiversion_platform: rhel80
multiversion_edition: enterprise
has_packages: true
@@ -880,7 +968,10 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-rhel82
- compile_flags: --ssl MONGO_DISTMOD=rhel82 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=rhel82
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
has_packages: true
packager_script: packager.py
packager_arch: aarch64
@@ -927,13 +1018,23 @@ buildvariants:
run_on:
- rhel82-arm64-small
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-rhel82
- compile_flags: --ssl MONGO_DISTMOD=rhel82 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=rhel82
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic
+ -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
has_packages: true
packager_script: packager_enterprise.py
packager_arch: aarch64
@@ -988,7 +1089,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-suse12
- compile_flags: --ssl MONGO_DISTMOD=suse12 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=suse12
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: suse12
multiversion_edition: targeted
has_packages: true
@@ -1037,13 +1142,21 @@ buildvariants:
run_on:
- suse12-sp5-small
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-suse12
- compile_flags: --ssl MONGO_DISTMOD=suse12 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=suse12
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: suse12
multiversion_edition: enterprise
has_packages: true
@@ -1086,13 +1199,21 @@ buildvariants:
run_on:
- suse15-test
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-suse15
- compile_flags: --ssl MONGO_DISTMOD=suse15 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=suse15
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
@@ -1132,7 +1253,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-suse15
- compile_flags: --ssl MONGO_DISTMOD=suse15 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=suse15
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: linux_x86_64
multiversion_edition: base
multiversion_platform_42_or_later: suse15
@@ -1183,7 +1308,12 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-ubuntu1804
- compile_flags: --ssl --ocsp-stapling=off MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ --ocsp-stapling=off
+ MONGO_DISTMOD=ubuntu1804
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: ubuntu1804
multiversion_edition: targeted
test_flags: --excludeWithAnyTags=requires_ocsp_stapling
@@ -1240,13 +1370,25 @@ buildvariants:
- ubuntu1804-test
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-ubuntu1804
- compile_flags: --ssl --ocsp-stapling=off MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ --ocsp-stapling=off
+ MONGO_DISTMOD=ubuntu1804
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic
+ -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: ubuntu1804
multiversion_edition: enterprise
test_flags: --excludeWithAnyTags=requires_ocsp_stapling
@@ -1310,13 +1452,23 @@ buildvariants:
run_on:
- ubuntu1804-arm64-build
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-ubuntu1804
- compile_flags: --ssl --ocsp-stapling=off MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ --ocsp-stapling=off
+ MONGO_DISTMOD=ubuntu1804
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic
+ -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
test_flags: --excludeWithAnyTags=requires_ocsp_stapling
resmoke_jobs_max: 4 # Avoid starting too many mongod's on ARM test servers
has_packages: true
@@ -1371,7 +1523,12 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-ubuntu1804
- compile_flags: --ssl --ocsp-stapling=off MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ --ocsp-stapling=off
+ MONGO_DISTMOD=ubuntu1804
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
test_flags: --excludeWithAnyTags=requires_ocsp_stapling
resmoke_jobs_max: 8 # Avoid starting too many mongod's on ARM test servers
has_packages: true
@@ -1407,7 +1564,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-ubuntu2204
- compile_flags: --ssl MONGO_DISTMOD=ubuntu2204 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=ubuntu2204
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: ubuntu2204
multiversion_edition: targeted
has_packages: true
@@ -1459,7 +1620,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-ubuntu2004
- compile_flags: --ssl MONGO_DISTMOD=ubuntu2004 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=ubuntu2004
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
multiversion_platform: ubuntu2004
multiversion_edition: targeted
has_packages: true
@@ -1510,13 +1675,22 @@ buildvariants:
- ubuntu2004-small
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-ubuntu2004
- compile_flags: --ssl MONGO_DISTMOD=ubuntu2004 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=ubuntu2004
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: ubuntu2004
multiversion_edition: enterprise
has_packages: true
@@ -1567,13 +1741,23 @@ buildvariants:
- ubuntu2204-small
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-ubuntu2204
- compile_flags: --ssl MONGO_DISTMOD=ubuntu2204 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=ubuntu2204
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
multiversion_platform: ubuntu2204
multiversion_edition: enterprise
has_packages: true
@@ -1623,13 +1807,20 @@ buildvariants:
run_on:
- ubuntu2004-arm64-large
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-ubuntu2004
- compile_flags: --ssl MONGO_DISTMOD=ubuntu2004 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
- crypt_task_compile_flags: SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique" CCFLAGS="-fno-gnu-unique"
+ compile_flags: >-
+ --ssl MONGO_DISTMOD=ubuntu2004
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ crypt_task_compile_flags: >-
+ SHLINKFLAGS_EXTRA="-Wl,-Bsymbolic -Wl,--no-gnu-unique"
+ CCFLAGS="-fno-gnu-unique"
resmoke_jobs_max: 4 # Avoid starting too many mongod's on ARM test servers
has_packages: true
packager_script: packager_enterprise.py
@@ -1681,7 +1872,11 @@ buildvariants:
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-ubuntu2004
- compile_flags: --ssl MONGO_DISTMOD=ubuntu2004 -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=ubuntu2004
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
resmoke_jobs_max: 8 # Avoid starting too many mongod's on ARM test servers
has_packages: true
packager_script: packager.py
@@ -1723,7 +1918,11 @@ buildvariants:
multiversion_platform_44_or_later: windows
multiversion_edition: base
content_type: application/zip
- compile_flags: --ssl MONGO_DISTMOD=windows -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5") --win-version-min=win10
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=windows
+ -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5")
+ --win-version-min=win10
num_scons_link_jobs_available: 0.25
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
@@ -1775,9 +1974,20 @@ buildvariants:
- windows-vsCurrent-small
expansions:
exe: ".exe"
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug msi archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ msi
+ archive-mh
+ archive-mh-debug
content_type: application/zip
- compile_flags: --ssl MONGO_DISTMOD=windows CPPPATH="c:/sasl/include" LIBPATH="c:/sasl/lib" -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5") --win-version-min=win10
+ compile_flags: >-
+ --ssl
+ MONGO_DISTMOD=windows
+ CPPPATH="c:/sasl/include"
+ LIBPATH="c:/sasl/lib"
+ -j$(bc <<< "$(grep -c '^processor' /proc/cpuinfo) / 1.5")
+ --win-version-min=win10
num_scons_link_jobs_available: 0.25
python: '/cygdrive/c/python/python37/python.exe'
ext: zip
@@ -1851,7 +2061,11 @@ buildvariants:
push_name: macos
push_arch: x86_64
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx.vars
+ compile_flags: >-
+ --ssl
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ --variables-files=etc/scons/xcode_macosx.vars
resmoke_jobs_max: 6
tasks:
- name: compile_test_and_package_serial_TG
@@ -1902,7 +2116,11 @@ buildvariants:
push_name: macos
push_arch: arm64
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx_arm.vars
+ compile_flags: >-
+ --ssl
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ --variables-files=etc/scons/xcode_macosx_arm.vars
resmoke_jobs_max: 6
tasks:
- name: compile_test_and_package_serial_TG
@@ -1950,13 +2168,21 @@ buildvariants:
- macos-1100
expansions:
test_flags: --excludeWithAnyTags=incompatible_with_macos,requires_gcm
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: osx
push_bucket: downloads.10gen.com
push_name: macos
push_arch: x86_64-enterprise
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx.vars
+ compile_flags: >-
+ --ssl
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ --variables-files=etc/scons/xcode_macosx.vars
resmoke_jobs_max: 6
tasks:
- name: compile_test_and_package_serial_TG
@@ -1990,13 +2216,21 @@ buildvariants:
- macos-1100-arm64
expansions:
test_flags: --excludeWithAnyTags=incompatible_with_macos,requires_gcm
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug archive-mh archive-mh-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
+ archive-mh
+ archive-mh-debug
push_path: osx
push_bucket: downloads.10gen.com
push_name: macos
push_arch: arm64-enterprise
compile_env: DEVELOPER_DIR=/Applications/Xcode13.app
- compile_flags: --ssl -j$(sysctl -n hw.logicalcpu) --libc++ --variables-files=etc/scons/xcode_macosx_arm.vars
+ compile_flags: >-
+ --ssl
+ -j$(sysctl -n hw.logicalcpu)
+ --libc++
+ --variables-files=etc/scons/xcode_macosx_arm.vars
resmoke_jobs_max: 6
tasks:
- name: compile_test_and_package_serial_TG
diff --git a/etc/evergreen_yml_components/variants/sanitizer.yml b/etc/evergreen_yml_components/variants/sanitizer.yml
index 6034e09cccc..75a501083f6 100644
--- a/etc/evergreen_yml_components/variants/sanitizer.yml
+++ b/etc/evergreen_yml_components/variants/sanitizer.yml
@@ -14,7 +14,14 @@ buildvariants:
san_options: >-
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --opt=on --allocator=system --sanitize=address --ssl --ocsp-stapling=off -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ --opt=on
+ --allocator=system
+ --sanitize=address
+ --ssl
+ --ocsp-stapling=off
+ -j$(grep -c ^processor /proc/cpuinfo)
multiversion_platform: rhel80
multiversion_edition: enterprise
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under ASAN build.
@@ -37,14 +44,25 @@ buildvariants:
- rhel80-build
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
# If you add anything to san_options, make sure the appropriate changes are
# also made to SConstruct.
san_options: >-
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --dbg=on --opt=on --allocator=system --sanitize=address --ssl --ocsp-stapling=off --enable-free-mon=on -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ --dbg=on
+ --opt=on
+ --allocator=system
+ --sanitize=address
+ --ssl
+ --ocsp-stapling=off
+ --enable-free-mon=on
+ -j$(grep -c ^processor /proc/cpuinfo)
test_flags: --excludeWithAnyTags=requires_fast_memory,requires_ocsp_stapling
multiversion_platform: rhel80
multiversion_edition: enterprise
@@ -112,12 +130,22 @@ buildvariants:
- rhel80-build
stepback: false
expansions:
- additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
+ additional_package_targets: >-
+ archive-mongocryptd
+ archive-mongocryptd-debug
lang_environment: LANG=C
# If you add anything to san_options, make sure the appropriate changes are
# also made to SConstruct.
san_options: UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer"
- compile_flags: --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars --dbg=on --opt=on --sanitize=undefined --ssl --ocsp-stapling=off --enable-free-mon=on -j$(grep -c ^processor /proc/cpuinfo)
+ compile_flags: >-
+ --variables-files=etc/scons/mongodbtoolchain_v3_clang.vars
+ --dbg=on
+ --opt=on
+ --sanitize=undefined
+ --ssl
+ --ocsp-stapling=off
+ --enable-free-mon=on
+ -j$(grep -c ^processor /proc/cpuinfo)
test_flags: --excludeWithAnyTags=requires_ocsp_stapling
multiversion_platform: rhel80
multiversion_edition: enterprise
diff --git a/etc/perf.yml b/etc/perf.yml
index 459d83bacd5..a5f647bd7c4 100644
--- a/etc/perf.yml
+++ b/etc/perf.yml
@@ -781,7 +781,12 @@ microbenchmark-buildvariants:
# We are explicitly tracking the rhel62 variant compile options from evergreen.yml for
# microbenchmarks, since they run on the centos6 boxes. If we can get proper artifacts directly
# from that project, we should do that and remove the compile tasks.
- compile_flags: --ssl --separate-debug MONGO_DISTMOD=rhel62 -j$(grep -c ^processor /proc/cpuinfo) --release --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ compile_flags: >-
+ --ssl
+ --separate-debug MONGO_DISTMOD=rhel62
+ -j$(grep -c ^processor /proc/cpuinfo)
+ --release
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
mongod_exec_wrapper: &exec_wrapper "numactl --physcpubind=4,5,6,7 -i 1"
perf_exec_wrapper: &perf_wrapper "numactl --physcpubind=1,2,3 -i 0"
use_scons_cache: true