mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1751839 - Build clang stage 1 as a separate task. r=firefox-build-system-reviewers,andi
This allows to start building other toolchains, compiler runtimes, much earlier, since we don't have to wait for a complete 4-stage-optimized compiler to start these, while the output produced by clang is presumably the same whether it's a stage 1 or a stage 4 clang. Differential Revision: https://phabricator.services.mozilla.com/D136844
This commit is contained in:
parent
49dc85a2b5
commit
b51dd0d34d
4
build/build-clang/1stage.json
Normal file
4
build/build-clang/1stage.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"stages": "1",
|
||||
"pgo": false
|
||||
}
|
6
build/build-clang/skip-stage-1.json
Normal file
6
build/build-clang/skip-stage-1.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"skip_stages": "1",
|
||||
"cc": "{MOZ_FETCHES_DIR}/clang/bin/clang",
|
||||
"cxx": "{MOZ_FETCHES_DIR}/clang/bin/clang++",
|
||||
"as": "{MOZ_FETCHES_DIR}/clang/bin/clang"
|
||||
}
|
@ -101,6 +101,29 @@ linux64-clang-trunk:
|
||||
- linux64-toolchain-sysroot
|
||||
- wasm32-wasi-compiler-rt
|
||||
|
||||
linux64-clang-13-stage1:
|
||||
description: "Clang 13 toolchain build"
|
||||
treeherder:
|
||||
symbol: TL(clang13-stage1)
|
||||
run-on-projects: [trunk]
|
||||
run:
|
||||
using: toolchain-script
|
||||
script: build-clang.sh
|
||||
arguments:
|
||||
- 'build/build-clang/linux64.json'
|
||||
- 'build/build-clang/clang-13.json'
|
||||
- 'build/build-clang/1stage.json'
|
||||
resources:
|
||||
- 'build/build-clang/linux64.json'
|
||||
- 'build/build-clang/clang-13.json'
|
||||
- 'build/build-clang/1stage.json'
|
||||
toolchain-alias:
|
||||
- linux64-clang-toolchain
|
||||
toolchain-artifact: public/build/clang.tar.zst
|
||||
fetches:
|
||||
fetch:
|
||||
- clang-13
|
||||
|
||||
linux64-clang-13:
|
||||
description: "Clang 13 toolchain build"
|
||||
attributes:
|
||||
@ -114,17 +137,19 @@ linux64-clang-13:
|
||||
arguments:
|
||||
- 'build/build-clang/linux64.json'
|
||||
- 'build/build-clang/clang-13.json'
|
||||
- 'build/build-clang/skip-stage-1.json'
|
||||
resources:
|
||||
- 'build/build-clang/linux64.json'
|
||||
- 'build/build-clang/clang-13.json'
|
||||
- 'build/build-clang/skip-stage-1.json'
|
||||
toolchain-alias:
|
||||
- linux64-clang
|
||||
- linux64-clang-toolchain
|
||||
toolchain-artifact: public/build/clang.tar.zst
|
||||
fetches:
|
||||
fetch:
|
||||
- clang-13
|
||||
toolchain:
|
||||
- linux64-clang-13-stage1
|
||||
- linux64-toolchain-sysroot
|
||||
- wasm32-wasi-compiler-rt-13
|
||||
|
||||
|
@ -25,7 +25,7 @@ android-aarch64-compiler-rt-13:
|
||||
fetch:
|
||||
- clang-13
|
||||
toolchain:
|
||||
- linux64-clang-13
|
||||
- linux64-clang-13-stage1
|
||||
- linux64-android-ndk-linux-repack
|
||||
|
||||
android-arm-compiler-rt-13:
|
||||
@ -42,7 +42,7 @@ android-arm-compiler-rt-13:
|
||||
fetch:
|
||||
- clang-13
|
||||
toolchain:
|
||||
- linux64-clang-13
|
||||
- linux64-clang-13-stage1
|
||||
- linux64-android-ndk-linux-repack
|
||||
|
||||
android-x86-compiler-rt-13:
|
||||
@ -59,7 +59,7 @@ android-x86-compiler-rt-13:
|
||||
fetch:
|
||||
- clang-13
|
||||
toolchain:
|
||||
- linux64-clang-13
|
||||
- linux64-clang-13-stage1
|
||||
- linux64-android-ndk-linux-repack
|
||||
|
||||
android-x64-compiler-rt-13:
|
||||
@ -76,7 +76,7 @@ android-x64-compiler-rt-13:
|
||||
fetch:
|
||||
- clang-13
|
||||
toolchain:
|
||||
- linux64-clang-13
|
||||
- linux64-clang-13-stage1
|
||||
- linux64-android-ndk-linux-repack
|
||||
|
||||
linux64-aarch64-compiler-rt-13:
|
||||
@ -94,7 +94,7 @@ linux64-aarch64-compiler-rt-13:
|
||||
- clang-13
|
||||
toolchain:
|
||||
- linux64-binutils
|
||||
- linux64-clang-13
|
||||
- linux64-clang-13-stage1
|
||||
- sysroot-aarch64-linux-gnu
|
||||
|
||||
macosx64-x64-compiler-rt-13:
|
||||
@ -109,7 +109,7 @@ macosx64-x64-compiler-rt-13:
|
||||
- clang-13
|
||||
toolchain:
|
||||
- linux64-cctools-port-clang-13
|
||||
- linux64-clang-13
|
||||
- linux64-clang-13-stage1
|
||||
- macosx64-sdk-11.0
|
||||
|
||||
macosx64-aarch64-compiler-rt-13:
|
||||
@ -124,7 +124,7 @@ macosx64-aarch64-compiler-rt-13:
|
||||
- clang-13
|
||||
toolchain:
|
||||
- linux64-cctools-port-clang-13
|
||||
- linux64-clang-13
|
||||
- linux64-clang-13-stage1
|
||||
- macosx64-sdk-11.0
|
||||
|
||||
wasm32-wasi-compiler-rt-13:
|
||||
|
@ -30,6 +30,7 @@ RUN apt-get update && \
|
||||
libssl-dev \
|
||||
libtool \
|
||||
libucl-dev \
|
||||
libxml2-dev \
|
||||
ninja-build \
|
||||
openssh-client \
|
||||
p7zip-full \
|
||||
|
Loading…
x
Reference in New Issue
Block a user