0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00

SERVER-97202 Skip debug symbols for compile_all_but_not_unittests. (#29238)

GitOrigin-RevId: de19f708921d73916ce4ee8e69bbd21b19769df5
This commit is contained in:
Max Hirschhorn 2024-11-18 18:11:59 -05:00 committed by MongoDB Bot
parent 9ec0f7953a
commit ef919109ed
2 changed files with 21 additions and 1 deletions

View File

@ -688,6 +688,7 @@ tasks:
vars:
targets: install-all-meta-but-not-unittests
compiling_for_test: true
task_compile_flags: ${compile_all_but_not_unittests_flags}
- <<: *clang_tidy_task_template
name: clang_tidy_1
@ -2320,6 +2321,18 @@ task_groups:
- archive_dist_test_debug
- compile_all_but_not_unittests
- <<: *compile_task_group_template
name: compile_test_parallel_core_stream_no_compile_all_TG
tasks:
- compile_dist_test
- archive_dist_test
- archive_dist_test_debug
- <<: *compile_task_group_template
name: compile_all_but_not_unittests_TG
tasks:
- compile_all_but_not_unittests
- <<: *compile_task_group_template
name: compile_test_parallel_dbtest_stream_TG
tasks:

View File

@ -27,6 +27,10 @@ variables:
--link-model=static
unittest_compile_flags: >-
--link-model=dynamic
# The executables generated by the install-all target are not used after successfully being
# compiled. We therefore compile them without debug symbols to compile them faster.
compile_all_but_not_unittests_flags: >-
--debug-symbols=off
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
@ -101,7 +105,10 @@ buildvariants:
tasks:
- name: compile_ninja_quick_TG
- name: compile_test_parallel_unittest_stream_TG
- name: compile_test_parallel_core_stream_TG
- name: compile_test_parallel_core_stream_no_compile_all_TG
distros:
- amazon2-arm64-latest-nvme
- name: compile_all_but_not_unittests_TG
distros:
- amazon2-arm64-latest-nvme
- name: compile_test_parallel_dbtest_stream_TG