Bug 1714004 - Add a tier 2 build using GCC 11. r=sylvestre,andi

Differential Revision: https://phabricator.services.mozilla.com/D116549
This commit is contained in:
Mike Hommey 2021-06-03 06:11:25 +00:00
parent 76d166f883
commit 07973852a6
4 changed files with 73 additions and 0 deletions

View File

@ -89,6 +89,50 @@ linux64-plain/opt:
optimization:
skip-unless-expanded: null
linux64-gcc/opt:
description: "Linux64 GCC Opt"
index:
product: firefox
job-name: linux64-gcc-opt
treeherder:
platform: linux64/opt
symbol: Bgcc
tier: 2
run-on-projects: ['mozilla-central']
worker-type: b-linux
worker:
max-run-time: 7200
env:
MOZ_LOW_PARALLELISM_BUILD: '1'
PERFHERDER_EXTRA_OPTIONS: gcc
FORCE_GCC: '1'
run:
using: mozharness
actions: [get-secrets, build]
config:
- builds/releng_base_firefox.py
- builds/releng_base_linux_64_builds.py
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
tooltool-downloads: public
need-xvfb: true
use-sccache: true
fetches:
toolchain:
- linux64-binutils
- linux64-clang
- linux64-gcc-11
- linux64-rust
- linux64-rust-size
- linux64-cbindgen
- linux64-dump-syms
- linux64-sccache
- linux64-nasm
- linux64-node
- linux64-lucetc
- linux64-sysroot
- wasi-sysroot
linux64-plain-clang-trunk/opt:
description: "Linux64 Opt Plain with clang trunk"
index:

View File

@ -86,6 +86,16 @@ gcc-9.3.0:
strip-components: 1
add-prefix: gcc-source/
gcc-11.1.0:
description: GCC 11.1.0+ source code
fetch:
type: git
repo: https://gcc.gnu.org/git/gcc.git
# Tip of the releases/gcc-11 as of 2021-06-02.
revision: 22e424002217e182dee2fcc7d2df6d0fc601300d
artifact-name: gcc-source.tar.zst
path-prefix: gcc-source/
gmp-5.1.3:
description: GMP 5.1.3 source code
fetch:

View File

@ -61,6 +61,23 @@ linux64-gcc-9:
- mpc-1.0.3
- mpfr-3.1.4
linux64-gcc-11:
description: "GCC 11 toolchain build"
treeherder:
symbol: TL(gcc11)
run:
script: build-gcc-linux.sh
fetches:
fetch:
- binutils-2.31.1
- gcc-11.1.0
- gmp-6.1.0
- isl-0.16.1
- mpc-1.0.3
- mpfr-3.1.4
toolchain:
- linux64-gcc-9
linux64-gcc-sixgill:
description: "sixgill GCC plugin build"
treeherder:

View File

@ -6,6 +6,8 @@ set -e
root_dir=$MOZ_FETCHES_DIR
data_dir=$GECKO_PATH/build/unix/build-gcc
PATH=$MOZ_FETCHES_DIR/gcc/bin:$PATH
. $data_dir/build-gcc.sh
pushd $root_dir/gcc-source