Bug 1386588 - Rename the linux64-clang and linux64-gcc jobs to include a version number. r=gps

We're soon going to build multiple versions of clang and gcc for linux,
and we need to differentiate them. Furthermore, there is a need for the
base-toolchains builds to use a fixed version of clang and gcc. So
rename the clang and gcc toolchain jobs to include their version, add
aliases to satisfy all existing jobs, and adjust the base-toolchains
jobs to use the explicit version.


--HG--
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-3.9-linux64.json
rename : taskcluster/scripts/misc/build-gcc-linux.sh => taskcluster/scripts/misc/build-gcc-4.9-linux.sh
This commit is contained in:
Mike Hommey 2017-08-02 18:02:44 +09:00
parent af9b7241e1
commit c15ef2edff
5 changed files with 16 additions and 14 deletions

View File

@ -174,8 +174,8 @@ linux64-base-toolchains/opt:
tooltool-downloads: public
need-xvfb: true
toolchains:
- linux64-clang
- linux64-gcc
- linux64-clang-3.9
- linux64-gcc-4.9
- linux64-sccache
linux64-base-toolchains/debug:
@ -204,8 +204,8 @@ linux64-base-toolchains/debug:
tooltool-downloads: public
need-xvfb: true
toolchains:
- linux64-clang
- linux64-gcc
- linux64-clang-3.9
- linux64-gcc-4.9
- linux64-sccache
linux/opt:

View File

@ -2,12 +2,12 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
linux64-clang:
description: "Clang toolchain build"
linux64-clang-3.9:
description: "Clang 3.9 toolchain build"
treeherder:
kind: build
platform: toolchains/opt
symbol: TL(clang)
symbol: TL(clang3.9)
tier: 1
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
@ -15,11 +15,12 @@ linux64-clang:
max-run-time: 36000
run:
using: toolchain-script
script: build-clang-linux.sh
script: build-clang-3.9-linux.sh
resources:
- 'build/build-clang/build-clang.py'
- 'build/build-clang/clang-linux64.json'
- 'build/build-clang/clang-3.9-linux64.json'
- 'taskcluster/scripts/misc/tooltool-download.sh'
toolchain-alias: linux64-clang
toolchain-artifact: public/build/clang.tar.xz
toolchains:
- linux64-gcc
@ -50,12 +51,12 @@ linux64-clang-tidy:
toolchains:
- linux64-gcc
linux64-gcc:
description: "GCC toolchain build"
linux64-gcc-4.9:
description: "GCC 4.9 toolchain build"
treeherder:
kind: build
platform: toolchains/opt
symbol: TL(gcc)
symbol: TL(gcc4.9)
tier: 1
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
@ -63,10 +64,11 @@ linux64-gcc:
max-run-time: 36000
run:
using: toolchain-script
script: build-gcc-linux.sh
script: build-gcc-4.9-linux.sh
resources:
- 'build/unix/build-gcc/build-gcc.sh'
- 'build/unix/build-gcc/checksums'
toolchain-alias: linux64-gcc
toolchain-artifact: public/build/gcc.tar.xz
linux64-binutils:

View File

@ -16,7 +16,7 @@ set +x
cd build/build-clang
# |mach python| sets up a virtualenv for us!
../../mach python ./build-clang.py -c clang-linux64.json
../../mach python ./build-clang.py -c clang-3.9-linux64.json
set -x