mirror of https://github.com/mongodb/mongo
SERVER-114811 Move dynamic builds to static (#44761)
GitOrigin-RevId: 40cc1d092204ae5a84b8dcbe5a89ef9d00135b16
This commit is contained in:
parent
0c3490cd36
commit
73c97c40a8
|
|
@ -463,6 +463,7 @@ tasks:
|
|||
targets: install-mongo_unittest
|
||||
bazel_args: >-
|
||||
--config=evg
|
||||
--linkstatic=False
|
||||
--include_autogenerated_targets=True
|
||||
compiling_for_test: true
|
||||
|
||||
|
|
@ -504,6 +505,7 @@ tasks:
|
|||
test_timeout_sec: 660 # Allow extra 60s for coredump on abort
|
||||
bazel_args: >-
|
||||
--config=evg
|
||||
--linkstatic=False
|
||||
--include_autogenerated_targets=True
|
||||
--test_tag_filters=mongo_unittest,-intermediate_debug
|
||||
--build_tag_filters=mongo_unittest
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ variables:
|
|||
has_packages: false
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=amazon2023
|
||||
--linkstatic=False
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
|
||||
# THIS HAS COPIES IN:
|
||||
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
|
||||
|
|
@ -82,7 +83,6 @@ buildvariants:
|
|||
expansions:
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=amazon2023
|
||||
--linkstatic=False
|
||||
--config=local
|
||||
compile_variant: *amazon-linux2023-arm64-local-compile
|
||||
tasks:
|
||||
|
|
|
|||
|
|
@ -273,7 +273,6 @@ buildvariants:
|
|||
build_mongot: true
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=rhel88
|
||||
--linkstatic=False
|
||||
tasks:
|
||||
- name: compile_and_archive_dist_test_TG
|
||||
distros:
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@ variables:
|
|||
has_packages: false
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=rhel88
|
||||
--linkstatic=False
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
|
||||
# THIS HAS COPIES IN:
|
||||
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
|
||||
|
|
@ -86,7 +87,7 @@ variables:
|
|||
buildvariants:
|
||||
- <<: *linux-x86-dynamic-compile-params
|
||||
name: &linux-x86-dynamic-compile linux-x86-dynamic-compile
|
||||
display_name: "* Linux x86 Enterprise Shared Library"
|
||||
display_name: "* Linux x86 Enterprise"
|
||||
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
|
||||
expansions:
|
||||
<<: *linux-x86-dynamic-enterprise-compile-expansions
|
||||
|
|
@ -113,7 +114,7 @@ buildvariants:
|
|||
|
||||
- <<: *linux_x86_dynamic_compile_variant_dependency
|
||||
name: enterprise-rhel-8-64-bit-dynamic
|
||||
display_name: "* Shared Library Enterprise RHEL 8"
|
||||
display_name: "* Enterprise RHEL 8"
|
||||
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
|
||||
cron: "0 1,5,9,13,17,21 * * *" # From the ${project_required_suggested_cron} parameter
|
||||
run_on:
|
||||
|
|
@ -136,7 +137,7 @@ buildvariants:
|
|||
|
||||
- <<: *linux_x86_dynamic_compile_variant_dependency
|
||||
name: enterprise-rhel-8-64-bit-dynamic-roll-back-incremental-feature-flags
|
||||
display_name: "Shared Library Enterprise RHEL 8 (roll back incremental feature flags)"
|
||||
display_name: "Enterprise RHEL 8 (roll back incremental feature flags)"
|
||||
tags: ["forbid_tasks_tagged_with_experimental"]
|
||||
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
|
||||
run_on:
|
||||
|
|
@ -150,7 +151,7 @@ buildvariants:
|
|||
# This build variant is used to test suites that use sharded cluster fixture with config shard mode.
|
||||
- <<: *linux_x86_dynamic_compile_variant_dependency
|
||||
name: enterprise-rhel-8-64-bit-dynamic-config-shard
|
||||
display_name: "* Shared Library Enterprise RHEL 8 (Config Shard)"
|
||||
display_name: "* Enterprise RHEL 8 (Config Shard)"
|
||||
tags: ["suggested"]
|
||||
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
|
||||
run_on:
|
||||
|
|
@ -211,7 +212,7 @@ buildvariants:
|
|||
|
||||
- <<: *linux_x86_dynamic_compile_variant_dependency
|
||||
name: enterprise-rhel-8-64-bit-dynamic-classic-engine
|
||||
display_name: "Shared Library Enterprise RHEL 8 (Classic Engine)"
|
||||
display_name: "Enterprise RHEL 8 (Classic Engine)"
|
||||
tags: []
|
||||
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
|
||||
run_on:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,8 @@ variables:
|
|||
- &linux-x86-dynamic-enterprise-compile-expansions
|
||||
has_packages: false
|
||||
bazel_compile_flags: >-
|
||||
--linkstatic=False
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
|
||||
# THIS HAS COPIES IN
|
||||
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
|
||||
|
|
@ -190,7 +191,7 @@ variables:
|
|||
buildvariants:
|
||||
- <<: *generic_linux_compile_params
|
||||
name: &linux-x86-dynamic-compile-future-tag-multiversion-latest linux-x86-dynamic-compile-future-tag-multiversion-latest
|
||||
display_name: "Linux x86 Shared Library Compile (future git tag multiversion - latest)"
|
||||
display_name: "Linux x86 Compile (future git tag multiversion - latest)"
|
||||
tags: []
|
||||
expansions:
|
||||
<<: *linux-x86-dynamic-enterprise-compile-expansions
|
||||
|
|
@ -203,7 +204,7 @@ buildvariants:
|
|||
|
||||
- <<: *generic_linux_compile_params
|
||||
name: &linux-x86-dynamic-compile-future-tag-multiversion-last-continuous linux-x86-dynamic-compile-future-tag-multiversion-last-continuous
|
||||
display_name: "Linux x86 Shared Library Compile (future git tag multiversion - last continuous)"
|
||||
display_name: "Linux x86 Compile (future git tag multiversion - last continuous)"
|
||||
tags: []
|
||||
expansions:
|
||||
<<: *linux-x86-dynamic-enterprise-compile-expansions
|
||||
|
|
@ -231,7 +232,7 @@ buildvariants:
|
|||
- name: crypt_build_debug_and_test
|
||||
|
||||
- name: &linux-x86-dynamic-grpc linux-x86-dynamic-grpc
|
||||
display_name: "~ Linux x86 Shared Library Enterprise with Ingress GRPC"
|
||||
display_name: "~ Linux x86 Enterprise with Ingress GRPC"
|
||||
cron: "0 1 * * *" # From the ${project_nightly_cron} parameter.
|
||||
run_on:
|
||||
- rhel8.8-xlarge
|
||||
|
|
@ -240,7 +241,8 @@ buildvariants:
|
|||
<<: *generic_linux_compile_expansions
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=rhel88
|
||||
--linkstatic=False
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
compile_variant: *linux-x86-dynamic-grpc
|
||||
clang_tidy_toolchain: v5
|
||||
large_distro_name: rhel8.8-xlarge
|
||||
|
|
@ -272,7 +274,7 @@ buildvariants:
|
|||
- &enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
|
||||
<<: *linux_x86_dynamic_compile_variant_dependency
|
||||
name: enterprise-rhel-8-64-bit-dynamic-all-feature-flags
|
||||
display_name: "* Shared Library Enterprise RHEL 8 (all feature flags)"
|
||||
display_name: "* Enterprise RHEL 8 (all feature flags)"
|
||||
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
|
||||
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
|
||||
run_on:
|
||||
|
|
@ -310,7 +312,7 @@ buildvariants:
|
|||
|
||||
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
|
||||
name: enterprise-rhel-8-64-bit-dynamic-all-feature-flags-experimental
|
||||
display_name: "* Shared Library Enterprise RHEL 8 (all feature flags) Experimental"
|
||||
display_name: "* Enterprise RHEL 8 (all feature flags) Experimental"
|
||||
tags: ["suggested"]
|
||||
tasks:
|
||||
&experimental-task-list # TODO(SERVER-90936): Remove streams_kafka* and streams_lambda tests when they work with the "default" tag.
|
||||
|
|
@ -324,7 +326,7 @@ buildvariants:
|
|||
|
||||
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
|
||||
name: enterprise-rhel-8-64-bit-dynamic-all-non-rollback-feature-flags
|
||||
display_name: "Shared Library Enterprise RHEL 8 (all non-rollback feature flags)"
|
||||
display_name: "Enterprise RHEL 8 (all non-rollback feature flags)"
|
||||
tags: ["forbid_tasks_tagged_with_experimental"]
|
||||
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
|
||||
expansions:
|
||||
|
|
@ -336,7 +338,7 @@ buildvariants:
|
|||
|
||||
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
|
||||
name: enterprise-rhel-8-64-bit-dynamic-all-non-rollback-feature-flags-experimental
|
||||
display_name: "Shared Library Enterprise RHEL 8 (all non-rollback feature flags) Experimental"
|
||||
display_name: "Enterprise RHEL 8 (all non-rollback feature flags) Experimental"
|
||||
tags: []
|
||||
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
|
||||
expansions:
|
||||
|
|
@ -471,7 +473,8 @@ buildvariants:
|
|||
<<: *linux_x86_generic_expansions
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=rhel88
|
||||
--linkstatic=False
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
test_flags: >-
|
||||
--mongosSetParameters="{replicaSetMonitorProtocol: sdam}"
|
||||
--mongodSetParameters="{replicaSetMonitorProtocol: sdam}"
|
||||
|
|
@ -564,7 +567,8 @@ buildvariants:
|
|||
<<: *linux_x86_generic_expansions
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=rhel88
|
||||
--linkstatic=False
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
multiversion_platform: rhel8
|
||||
multiversion_edition: enterprise
|
||||
test_flags: >-
|
||||
|
|
@ -612,7 +616,7 @@ buildvariants:
|
|||
### Query Patch-Specific Build Variants ###
|
||||
|
||||
- name: enterprise-rhel-8-64-bit-dynamic-query-quick-patch-only
|
||||
display_name: "~ Shared Library Enterprise RHEL 8 Query Quick Patch Only"
|
||||
display_name: "~ Enterprise RHEL 8 Query Quick Patch Only"
|
||||
tags: []
|
||||
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
|
||||
run_on:
|
||||
|
|
@ -665,7 +669,7 @@ buildvariants:
|
|||
|
||||
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
|
||||
name: enterprise-rhel-8-64-bit-dynamic-all-feature-flags-required-query-quick-patch-only
|
||||
display_name: "~ Shared Library Enterprise RHEL 8 Query Quick Patch Only (all feature flags)"
|
||||
display_name: "~ Enterprise RHEL 8 Query Quick Patch Only (all feature flags)"
|
||||
tags: []
|
||||
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
|
||||
expansions:
|
||||
|
|
@ -677,7 +681,7 @@ buildvariants:
|
|||
|
||||
- name: enterprise-rhel-8-64-bit-dynamic-classic-engine-all-feature-flags-fuzzers
|
||||
<<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
|
||||
display_name: "*| Shared Library Enterprise RHEL 8 (Classic Engine all feature flags) Fuzzers"
|
||||
display_name: "*| Enterprise RHEL 8 (Classic Engine all feature flags) Fuzzers"
|
||||
tags: ["suggested"]
|
||||
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
|
||||
expansions:
|
||||
|
|
@ -697,7 +701,7 @@ buildvariants:
|
|||
|
||||
- name: enterprise-rhel-8-64-bit-dynamic-classic-engine-all-non-rollback-feature-flags-fuzzers
|
||||
<<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
|
||||
display_name: "Shared Library Enterprise RHEL 8 (Classic Engine all non-rollback feature flags) Fuzzers"
|
||||
display_name: "Enterprise RHEL 8 (Classic Engine all non-rollback feature flags) Fuzzers"
|
||||
tags: []
|
||||
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
|
||||
expansions:
|
||||
|
|
@ -718,7 +722,7 @@ buildvariants:
|
|||
### Security Patch-Specific Build Variants ###
|
||||
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
|
||||
name: enterprise-rhel-8-64-bit-dynamic-all-feature-flags-required-security-patch-only
|
||||
display_name: "~ Shared Library Enterprise RHEL 8 Security Patch Only (all feature flags)"
|
||||
display_name: "~ Enterprise RHEL 8 Security Patch Only (all feature flags)"
|
||||
tags: []
|
||||
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
|
||||
expansions:
|
||||
|
|
|
|||
|
|
@ -811,7 +811,7 @@ buildvariants:
|
|||
- name: .watchdog
|
||||
|
||||
- name: enterprise-rhel-8-64-bit-dynamic-spider-monkey-dbg
|
||||
display_name: "~ Shared Library Enterprise RHEL 8 SpiderMonkey Debug"
|
||||
display_name: "~Enterprise RHEL 8 SpiderMonkey Debug"
|
||||
tags: []
|
||||
cron: "0 1,5,9,13,17,21 * * *" # From the ${project_required_suggested_cron} parameter
|
||||
run_on:
|
||||
|
|
@ -824,8 +824,9 @@ buildvariants:
|
|||
mongo_mozjs_options: "7;15,75"
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=rhel88
|
||||
--linkstatic=False
|
||||
--spider_monkey_dbg=True
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
compile_variant: enterprise-rhel-8-64-bit-dynamic-spider-monkey-dbg
|
||||
exec_timeout_secs: 32400 # 9 hour timeout
|
||||
timeout_secs: 18000 # 5 hour idle timeout
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ buildvariants:
|
|||
###########################################
|
||||
|
||||
- name: &enterprise-rhel-8-64-bit-dynamic-debug-mode enterprise-rhel-8-64-bit-dynamic-debug-mode
|
||||
display_name: "Shared Library Enterprise RHEL 8 Debug Mode"
|
||||
display_name: "Enterprise RHEL 8 Debug Mode"
|
||||
tags: ["forbid_tasks_tagged_with_experimental"]
|
||||
cron: "0 2 * * 0" # From the ${project_weekly_cron} parameter
|
||||
run_on:
|
||||
|
|
@ -204,8 +204,9 @@ buildvariants:
|
|||
--excludeWithAnyTags=incompatible_slow_machine
|
||||
bazel_compile_flags: >-
|
||||
--define=MONGO_DISTMOD=rhel88
|
||||
--linkstatic=False
|
||||
--use_glibcxx_debug=True
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
--dbg=True
|
||||
--allocator=system
|
||||
exec_timeout_secs: 32400 # 9 hour timeout
|
||||
|
|
|
|||
|
|
@ -84,7 +84,8 @@ buildvariants:
|
|||
bazel_compile_flags: >-
|
||||
--dbg=True
|
||||
--opt=on
|
||||
--linkstatic=False
|
||||
--dtlto=False
|
||||
--pgo_profile_use=False
|
||||
--build_enterprise=False
|
||||
test_flags: >-
|
||||
--excludeWithAnyTags=requires_http_client
|
||||
|
|
|
|||
Loading…
Reference in New Issue