Bug 1847199 - Add toolchains for clang 17.0.0-rc2. r=firefox-build-system-reviewers,ahochheiden

Differential Revision: https://phabricator.services.mozilla.com/D185424
This commit is contained in:
Mike Hommey 2023-08-09 20:26:14 +00:00
Родитель 3cb3ea3b50
Коммит 44b24790fa
6 изменённых файлов: 695 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,22 @@
{
"patches": [
"find_symbolizer_linux_clang_15.patch",
"android-mangling-error_clang_12.patch",
"unpoison-thread-stacks_clang_10.patch",
"downgrade-mangling-error_clang_12.patch",
"fuzzing_ccov_build_clang_12.patch",
"partial-revert-llvmorg-17-init-17713-gc8e055d485ea.patch",
"partial-revert-llvmorg-17-init-7686-g244be0b0de19.patch",
"revert-llvmorg-17-init-4120-g02e8eb1a438b.patch",
"partial-revert-llvmorg-16-init-17151-gaa0883b59ae1_clang_17.patch",
"revert-llvmorg-16-init-11301-g163bb6d64e5f_clang_17.patch",
"revert-llvmorg-16-init-7598-g54bfd0484615.patch",
"revert-llvmorg-15-init-13446-g7524fe962e47.patch",
"revert-llvmorg-15-init-11205-gcead4eceb01b_clang_16.patch",
"revert-llvmorg-14-init-14141-gd6d3000a2f6d.patch",
"revert-llvmorg-14-init-11890-gf86deb18cab6_clang_17.patch",
"D146664.patch",
"win64-ret-null-on-commitment-limit_clang_14.patch",
"compiler-rt-rss-limit-heap-profile.patch"
]
}

Просмотреть файл

@ -361,6 +361,13 @@ clang-16:
repo: https://github.com/llvm/llvm-project
revision: 7cbf1a2591520c2491aa35339f227775f4d3adf6
clang-17:
description: clang 17.0.0-rc2 source code
fetch:
type: git
repo: https://github.com/llvm/llvm-project
revision: edc0ee3ccad416ab186202bf928ea64e3a7987b7
clang-trunk:
description: clang main branch source code
attributes:

Просмотреть файл

@ -490,6 +490,366 @@ win64-clang-16:
- win32-compiler-rt-16
- win64-compiler-rt-16
linux64-clang-17-mingw-x86:
description: "MinGW-Clang 17 x86 toolchain build"
treeherder:
symbol: TMW(clang-17-x86)
worker-type: b-linux-gcp
run:
script: build-clang-mingw.sh
arguments:
- 'x86'
resources:
- 'taskcluster/scripts/misc/mingw-*.patch'
toolchain-artifact: public/build/clangmingw.tar.zst
fetches:
fetch:
- clang-17
- mingw-w64
- llvm-mingw
- gcc-9.5.0
toolchain:
- linux64-clang-17
linux64-clang-17-mingw-x64:
description: "MinGW-Clang 17 x64 toolchain build"
treeherder:
symbol: TMW(clang-17-x64)
tier: 1
worker-type: b-linux-gcp
run:
script: build-clang-mingw.sh
arguments:
- 'x64'
resources:
- 'taskcluster/scripts/misc/mingw-*.patch'
toolchain-artifact: public/build/clangmingw.tar.zst
fetches:
fetch:
- clang-17
- mingw-w64
- llvm-mingw
- gcc-9.5.0
toolchain:
- linux64-clang-17
linux64-clang-17-stage1:
description: "Clang 17 toolchain build"
treeherder:
symbol: TL(clang-17-stage1)
run:
using: toolchain-script
script: build-clang.sh
arguments:
- 'build/build-clang/linux64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/1stage.json'
resources:
- 'build/build-clang/linux64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/1stage.json'
toolchain-artifact: public/build/clang.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-toolchain-sysroot
linux64-clang-17-profile:
description: "Clang 17 toolchain build"
treeherder:
symbol: TL(clang-17-profile)
run:
using: toolchain-script
script: build-clang.sh
arguments:
- 'build/build-clang/linux64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-stage-1.json'
- 'build/build-clang/profile.json'
resources:
- 'build/build-clang/linux64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-stage-1.json'
- 'build/build-clang/profile.json'
toolchain-artifact: public/build/merged.profdata
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- linux64-x64-compiler-rt-17
- linux64-toolchain-sysroot
linux64-clang-17-raw:
description: "Clang 17 toolchain build"
treeherder:
symbol: TL(clang-17-raw)
run:
script: build-clang.sh
arguments:
- 'build/build-clang/linux64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-3-stages.json'
- 'build/build-clang/4stages-pgo.json'
resources:
- 'build/build-clang/linux64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-3-stages.json'
- 'build/build-clang/4stages-pgo.json'
toolchain-artifact: public/build/clang.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- linux64-clang-17-profile
- linux64-toolchain-sysroot
linux64-clang-17:
description: "Clang 17 toolchain build"
attributes:
local-toolchain: true
treeherder:
symbol: TL(clang-17)
worker-type: b-linux-gcp
worker:
max-run-time: 600
run:
script: repack-clang.sh
toolchain-artifact: public/build/clang.tar.zst
fetches:
toolchain:
- linux64-cctools-port
- linux64-clang-17-raw
- android-aarch64-compiler-rt-17
- android-aarch64-libunwind-17
- android-arm-compiler-rt-17
- android-arm-libunwind-17
- android-x64-compiler-rt-17
- android-x64-libunwind-17
- android-x86-compiler-rt-17
- android-x86-libunwind-17
- linux64-aarch64-compiler-rt-17
- linux64-x64-compiler-rt-17
- linux64-x86-compiler-rt-17
- macosx64-aarch64-compiler-rt-17
- macosx64-x64-compiler-rt-17
- wasm32-wasi-compiler-rt-17
- win32-compiler-rt-17
- win64-compiler-rt-17
macosx64-clang-17-raw:
description: "Clang 17 toolchain build"
treeherder:
symbol: TM(clang-17-raw)
worker-type: b-linux-large-gcp
worker:
max-run-time: 3600
run:
script: build-clang.sh
arguments:
- 'build/build-clang/macosx64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-3-stages.json'
- 'build/build-clang/4stages-pgo.json'
resources:
- 'build/build-clang/macosx64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-3-stages.json'
- 'build/build-clang/4stages-pgo.json'
toolchain-artifact: public/build/clang.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- linux64-clang-17-profile
- macosx64-sdk-toolchain
- macosx64-x64-compiler-rt-17
macosx64-clang-17:
description: "Clang 17 toolchain repack with MacOS Compiler RT libs"
attributes:
local-toolchain: true
treeherder:
symbol: TM(clang-17)
worker-type: b-linux-gcp
worker:
max-run-time: 600
run:
script: repack-clang.sh
toolchain-artifact: public/build/clang.tar.zst
fetches:
toolchain:
- linux64-cctools-port
- macosx64-clang-17-raw
- android-aarch64-compiler-rt-17
- android-aarch64-libunwind-17
- android-arm-compiler-rt-17
- android-arm-libunwind-17
- android-x64-compiler-rt-17
- android-x64-libunwind-17
- android-x86-compiler-rt-17
- android-x86-libunwind-17
- linux64-aarch64-compiler-rt-17
- linux64-x64-compiler-rt-17
- linux64-x86-compiler-rt-17
- macosx64-aarch64-compiler-rt-17
- macosx64-x64-compiler-rt-17
- wasm32-wasi-compiler-rt-17
- win32-compiler-rt-17
- win64-compiler-rt-17
macosx64-aarch64-clang-17-raw:
description: "Clang 17 toolchain build"
treeherder:
symbol: TM(clang-17-aarch64-raw)
worker-type: b-linux-large-gcp
worker:
max-run-time: 3600
run:
script: build-clang.sh
arguments:
- 'build/build-clang/macosx64.json'
- 'build/build-clang/macosx64-aarch64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-3-stages.json'
- 'build/build-clang/4stages-pgo.json'
resources:
- 'build/build-clang/macosx64.json'
- 'build/build-clang/macosx64-aarch64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-3-stages.json'
- 'build/build-clang/4stages-pgo.json'
toolchain-artifact: public/build/clang.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- linux64-clang-17-profile
- macosx64-sdk-toolchain
- macosx64-aarch64-compiler-rt-17
macosx64-aarch64-clang-17:
description: "Clang 17 toolchain repack with MacOS Compiler RT libs"
attributes:
local-toolchain: true
treeherder:
symbol: TM(clang-17-aarch64)
worker-type: b-linux-gcp
worker:
max-run-time: 600
run:
script: repack-clang.sh
toolchain-artifact: public/build/clang.tar.zst
fetches:
toolchain:
- linux64-cctools-port
- macosx64-aarch64-clang-17-raw
- android-aarch64-compiler-rt-17
- android-aarch64-libunwind-17
- android-arm-compiler-rt-17
- android-arm-libunwind-17
- android-x64-compiler-rt-17
- android-x64-libunwind-17
- android-x86-compiler-rt-17
- android-x86-libunwind-17
- linux64-aarch64-compiler-rt-17
- linux64-x64-compiler-rt-17
- linux64-x86-compiler-rt-17
- macosx64-aarch64-compiler-rt-17
- macosx64-x64-compiler-rt-17
- wasm32-wasi-compiler-rt-17
- win32-compiler-rt-17
- win64-compiler-rt-17
win64-clang-17-stage1:
description: "Clang-cl 17 toolchain build stage 1"
treeherder:
symbol: TW64(clang-17-stage1)
run:
script: build-clang.sh
arguments:
- 'build/build-clang/win64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/1stage.json'
resources:
- 'build/build-clang/win64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/1stage.json'
toolchain-artifact: public/build/clang.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- vs-toolchain
win64-clang-17-raw:
description: "Clang-cl 17 toolchain build"
treeherder:
symbol: TW64(clang-17-raw)
worker-type: b-win2022
worker:
max-run-time: 9000
run:
script: build-clang.sh
arguments:
- 'build/build-clang/win64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-stage-1-win64.json'
- 'build/build-clang/4stages-pgo.json'
resources:
- 'build/build-clang/win64.json'
- 'build/build-clang/clang-17.json'
- 'build/build-clang/skip-stage-1-win64.json'
- 'build/build-clang/4stages-pgo.json'
toolchain-artifact: public/build/clang.tar.zst
fetches:
fetch:
- clang-17
- cmake
- ninja
toolchain:
- win64-clang-17-stage1
- win64-compiler-rt-17
- vs-toolchain
win64-clang-17:
description: "Clang-cl 17 toolchain build"
attributes:
local-toolchain: true
treeherder:
symbol: TW64(clang-17)
worker-type: b-linux-gcp
worker:
max-run-time: 600
run:
script: repack-clang.sh
toolchain-artifact: public/build/clang.tar.zst
fetches:
toolchain:
- linux64-cctools-port
- win64-clang-17-raw
- android-aarch64-compiler-rt-17
- android-aarch64-libunwind-17
- android-arm-compiler-rt-17
- android-arm-libunwind-17
- android-x64-compiler-rt-17
- android-x64-libunwind-17
- android-x86-compiler-rt-17
- android-x86-libunwind-17
- linux64-aarch64-compiler-rt-17
- linux64-x64-compiler-rt-17
- linux64-x86-compiler-rt-17
- macosx64-aarch64-compiler-rt-17
- macosx64-x64-compiler-rt-17
- wasm32-wasi-compiler-rt-17
- win32-compiler-rt-17
- win64-compiler-rt-17
linux64-clang-trunk-mingw-x86:
description: "MinGW-Clang trunk x86 toolchain build"
attributes:

Просмотреть файл

@ -224,6 +224,219 @@ wasm32-wasi-compiler-rt-16:
toolchain:
- linux64-clang-16-stage1
android-aarch64-compiler-rt-17:
description: "android aarch64 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TA(aarch64-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-aarch64-linux-android.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- linux64-android-ndk-linux-repack
android-arm-compiler-rt-17:
description: "android arm Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TA(arm-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-armv7-linux-android.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- linux64-android-ndk-linux-repack
android-x86-compiler-rt-17:
description: "android x86 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TA(x86-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-i686-linux-android.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- linux64-android-ndk-linux-repack
android-x64-compiler-rt-17:
description: "android x64 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TA(x64-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-x86_64-linux-android.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- linux64-android-ndk-linux-repack
linux64-x86-compiler-rt-17:
description: "Linux x86 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TL(x86-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-i686-unknown-linux-gnu.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- sysroot-i686-linux-gnu
linux64-x64-compiler-rt-17:
description: "Linux x64 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TL(x64-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-x86_64-unknown-linux-gnu.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- sysroot-x86_64-linux-gnu
linux64-aarch64-compiler-rt-17:
description: "Linux aarch64 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TL(aarch64-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-aarch64-unknown-linux-gnu.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- sysroot-aarch64-linux-gnu
macosx64-x64-compiler-rt-17:
description: "macOS x64 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TM(x64-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-x86_64-apple-darwin.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- macosx64-sdk-toolchain
macosx64-aarch64-compiler-rt-17:
description: "macOS aarch64 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TM(aarch64-crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-aarch64-apple-darwin.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- macosx64-sdk-toolchain
win32-compiler-rt-17:
description: "win32 x86 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TW32(crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-i686-pc-windows-msvc.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- vs-toolchain
win64-compiler-rt-17:
description: "win64 x64 Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TW64(crt-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/compiler-rt-x86_64-pc-windows-msvc.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- linux64-clang-17-stage1
- vs-toolchain
wasm32-wasi-compiler-rt-17:
description: "wasm32-wasi Compiler-rt for Clang 17 toolchain build"
treeherder:
symbol: TL(wasi-crt-17)
worker-type: b-linux-xlarge-gcp
run:
script: build-compiler-rt-wasi.sh
toolchain-artifact: public/build/compiler-rt-wasm32-wasi.tar.zst
fetches:
fetch:
- clang-17
- wasi-sdk
toolchain:
- linux64-clang-17-stage1
android-aarch64-compiler-rt-trunk:
description: "android aarch64 Compiler-rt for Clang trunk toolchain build"
attributes:

Просмотреть файл

@ -86,6 +86,82 @@ android-x64-libunwind-16:
- linux64-clang-16-stage1
- linux64-android-ndk-linux-repack
android-aarch64-libunwind-17:
description: "android aarch64 libunwind for Clang 17 toolchain build"
treeherder:
symbol: TA(aarch64-unwind-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/libunwind-aarch64-linux-android.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- android-aarch64-compiler-rt-17
- linux64-clang-17-stage1
- linux64-android-ndk-linux-repack
android-arm-libunwind-17:
description: "android arm libunwind for Clang 17 toolchain build"
treeherder:
symbol: TA(arm-unwind-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/libunwind-armv7-linux-android.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- android-arm-compiler-rt-17
- linux64-clang-17-stage1
- linux64-android-ndk-linux-repack
android-x86-libunwind-17:
description: "android x86 libunwind for Clang 17 toolchain build"
treeherder:
symbol: TA(x86-unwind-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/libunwind-i686-linux-android.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- android-x86-compiler-rt-17
- linux64-clang-17-stage1
- linux64-android-ndk-linux-repack
android-x64-libunwind-17:
description: "android x64 libunwind for Clang 17 toolchain build"
treeherder:
symbol: TA(x64-unwind-17)
run:
arguments:
- build/build-clang/clang-17.json
resources:
- build/build-clang/clang-17.json
- taskcluster/scripts/misc/build-llvm-common.sh
toolchain-artifact: public/build/libunwind-x86_64-linux-android.tar.zst
fetches:
fetch:
- clang-17
toolchain:
- android-x64-compiler-rt-17
- linux64-clang-17-stage1
- linux64-android-ndk-linux-repack
android-aarch64-libunwind-trunk:
description: "android aarch64 libunwind for Clang trunk toolchain build"
attributes:

Просмотреть файл

@ -81,6 +81,23 @@ sysroot-wasm32-wasi-clang-16:
- linux64-clang-16-stage1
- wasm32-wasi-compiler-rt-16
sysroot-wasm32-wasi-clang-17:
description: "Sysroot for wasi"
attributes:
local-toolchain: true
treeherder:
symbol: TL(sysroot-wasi-17)
run:
script: build-sysroot-wasi.sh
toolchain-artifact: public/build/sysroot-wasm32-wasi.tar.zst
fetches:
fetch:
- clang-17
- wasi-sdk
toolchain:
- linux64-clang-17-stage1
- wasm32-wasi-compiler-rt-17
sysroot-wasm32-wasi-clang-trunk:
description: "Sysroot for wasi"
attributes: