summaryrefslogtreecommitdiff
path: root/etc/evergreen.yml
diff options
context:
space:
mode:
authorTausif Rahman <tausif.rahman@mongodb.com>2022-08-26 13:56:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-16 15:02:06 +0000
commit35baeb29980662b6d82a00ab1fb98d120e593202 (patch)
tree3c5cd82079a6ade0fdfc46a2a5a4a3746ab0e993 /etc/evergreen.yml
parent3ed1e1368861952f6215dad0ee71a4ce64f0aebc (diff)
downloadmongo-35baeb29980662b6d82a00ab1fb98d120e593202.tar.gz
SERVER-68003 Make experiment_unified_ninja.vars the default
(cherry picked from commit 41d0a45aaf90b8e4e9a91f13a72e5623ecd963c4) (cherry picked from commit 6e2d63630ee90db15b7b122aba1b8c538357a0df)
Diffstat (limited to 'etc/evergreen.yml')
-rw-r--r--etc/evergreen.yml173
1 files changed, 146 insertions, 27 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 80ce89976f3..8329ea99fd4 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1178,6 +1178,15 @@ functions:
args:
- "src/evergreen/scons_compile.sh"
+ "ninja compile":
+ - *f_expansions_write
+ - command: subprocess.exec
+ type: test
+ params:
+ binary: bash
+ args:
+ - "./src/evergreen/ninja_compile.sh"
+
"generate compile expansions":
- *f_expansions_write
- command: subprocess.exec
@@ -2003,36 +2012,100 @@ tasks:
- name: compile_ninja
commands:
- - func: "scons compile"
- vars:
- generating_for_ninja: true
- task_install_action:
- default
- task_compile_flags: >-
- --ninja
- - *f_expansions_write
- - command: subprocess.exec
- params:
- binary: bash
- args:
- - "./src/evergreen/ninja_compile.sh"
+ - func: "scons compile"
+ vars:
+ generating_for_ninja: true
+ task_install_action:
+ default
+ task_compile_flags: >-
+ --ninja
+ - *f_expansions_write
+ - func: "ninja compile"
+ vars:
+ ninja_file: "build.ninja"
+
+- name: compile_ninja_default_profile
+ tags: []
+ commands:
+ - func: "scons compile"
+ vars:
+ generating_for_ninja: true
+ task_install_action:
+ default
+ task_compile_flags: >-
+ --build-profile=default
+ --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars
+ --ninja
+ - *f_expansions_write
+ - func: "ninja compile"
+ vars:
+ ninja_file: "build.ninja"
+
+- name: compile_ninja_opt_profile
+ tags: []
+ commands:
+ - func: "scons compile"
+ vars:
+ generating_for_ninja: true
+ task_install_action:
+ default
+ task_compile_flags: >-
+ --build-profile=opt
+ CCACHE=
+ ICECC=
+ - *f_expansions_write
+ - func: "ninja compile"
+ vars:
+ ninja_file: "opt.ninja"
+
+- name: compile_ninja_fast_profile
+ tags: []
+ commands:
+ - func: "scons compile"
+ vars:
+ generating_for_ninja: true
+ task_install_action:
+ default
+ task_compile_flags: >-
+ --build-profile=fast
+ CCACHE=
+ ICECC=
+ - *f_expansions_write
+ - func: "ninja compile"
+ vars:
+ ninja_file: "fast.ninja"
+
+- name: compile_ninja_san_profile
+ tags: []
+ commands:
+ - func: "scons compile"
+ vars:
+ generating_for_ninja: true
+ task_install_action:
+ default
+ task_compile_flags: >-
+ --build-profile=san
+ CCACHE=
+ ICECC=
+ - *f_expansions_write
+ - func: "ninja compile"
+ vars:
+ ninja_file: "san.ninja"
- name: compile_ninja_next
commands:
- - func: "scons compile"
- vars:
- generating_for_ninja: true
- task_install_action:
- default
- task_compile_flags: >-
- --build-tools=next
- --ninja
- - *f_expansions_write
- - command: subprocess.exec
- params:
- binary: bash
- args:
- - "./src/evergreen/ninja_compile.sh"
+ - func: "scons compile"
+ vars:
+ generating_for_ninja: true
+ task_install_action:
+ default
+ task_compile_flags: >-
+ --build-tools=next
+ --ninja
+ - *f_expansions_write
+ - func: "ninja compile"
+ vars:
+ ninja_file: "build.ninja"
- name: compile_build_tools_next
commands:
@@ -6916,6 +6989,26 @@ task_groups:
display_name: build.ninja
- <<: *compile_task_group_template
+ name: compile_ninja_default_profile_TG
+ tasks:
+ - compile_ninja_default_profile
+
+- <<: *compile_task_group_template
+ name: compile_ninja_opt_profile_TG
+ tasks:
+ - compile_ninja_opt_profile
+
+- <<: *compile_task_group_template
+ name: compile_ninja_san_profile_TG
+ tasks:
+ - compile_ninja_san_profile
+
+- <<: *compile_task_group_template
+ name: compile_ninja_fast_profile_TG
+ tasks:
+ - compile_ninja_fast_profile
+
+- <<: *compile_task_group_template
name: server_discovery_and_monitoring_json_test_TG
tasks:
- server_discovery_and_monitoring_json_test
@@ -9756,6 +9849,32 @@ buildvariants:
- rhel80-small
- name: generate_buildid_to_debug_symbols_mapping
+- name: ubuntu1804-ninja-build-profiles
+ display_name: "Ninja Build Profiles: Ubuntu 18.04"
+ cron: "0 4 * * 0" # Run once a week to ensure no failures introduced to build profiles
+ modules:
+ - enterprise
+ run_on:
+ - ubuntu1804-small
+ stepback: false
+ expansions:
+ compile_flags: --ssl --ocsp-stapling=off MONGO_DISTMOD=ubuntu1804 -j$(grep -c ^processor /proc/cpuinfo)
+ repo_edition: enterprise
+ has_packages: false
+ tasks:
+ - name: compile_ninja_default_profile_TG
+ distros:
+ - ubuntu1804-xlarge
+ - name: compile_ninja_opt_profile_TG
+ distros:
+ - ubuntu1804-xlarge
+ - name: compile_ninja_san_profile_TG
+ distros:
+ - ubuntu1804-xlarge
+ - name: compile_ninja_fast_profile_TG
+ distros:
+ - ubuntu1804-xlarge
+
# This variant compiles on RHEL 7.0 and runs tests on RHEL 7.6
- name: rhel76_compile_rhel70
display_name: RHEL 7.0/7.6 Cross-ABI