summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/toolchain
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--comm/taskcluster/ci/toolchain/clang.yml80
-rw-r--r--comm/taskcluster/ci/toolchain/kind.yml98
-rw-r--r--comm/taskcluster/ci/toolchain/libotr.yml102
3 files changed, 280 insertions, 0 deletions
diff --git a/comm/taskcluster/ci/toolchain/clang.yml b/comm/taskcluster/ci/toolchain/clang.yml
new file mode 100644
index 0000000000..a74d39f612
--- /dev/null
+++ b/comm/taskcluster/ci/toolchain/clang.yml
@@ -0,0 +1,80 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# 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/.
+---
+job-defaults:
+ treeherder:
+ kind: build
+ platform: toolchains/opt
+ tier: 1
+ run-on-projects: []
+ run:
+ using: toolchain-script
+ resources:
+ - 'build/build-clang/build-clang.py'
+ worker-type: b-linux-xlarge-gcp
+ worker:
+ max-run-time: 7200
+
+
+# The clang compilers defined below are the same as what's defined in
+# mozilla-central for Firefox builds, except that the Android compiler-rt
+# pieces have been left out.
+
+linux64-clang-16:
+ description: "Clang 16 toolchain build"
+ attributes:
+ local-toolchain: true
+ treeherder:
+ symbol: TL(clang-16)
+ worker-type: b-linux-gcp
+ worker:
+ max-run-time: 600
+ run:
+ script: repack-clang.sh
+ toolchain-alias:
+ by-project:
+ toolchains: null
+ default: linux64-clang
+ toolchain-artifact: public/build/clang.tar.zst
+ fetches:
+ toolchain:
+ - linux64-cctools-port
+ - linux64-clang-16-raw
+ - linux64-aarch64-compiler-rt-16
+ - linux64-x64-compiler-rt-16
+ - linux64-x86-compiler-rt-16
+ - macosx64-aarch64-compiler-rt-16
+ - macosx64-x64-compiler-rt-16
+ - wasm32-wasi-compiler-rt-16
+ - win32-compiler-rt-16
+ - win64-compiler-rt-16
+
+win64-clang-16:
+ description: "Clang-cl 16 toolchain build"
+ attributes:
+ local-toolchain: true
+ treeherder:
+ symbol: TW64(clang-16)
+ worker-type: b-linux-gcp
+ worker:
+ max-run-time: 600
+ run:
+ script: repack-clang.sh
+ toolchain-alias:
+ by-project:
+ toolchains: null
+ default: win64-clang
+ toolchain-artifact: public/build/clang.tar.zst
+ fetches:
+ toolchain:
+ - linux64-cctools-port
+ - win64-clang-16-raw
+ - linux64-aarch64-compiler-rt-16
+ - linux64-x64-compiler-rt-16
+ - linux64-x86-compiler-rt-16
+ - macosx64-aarch64-compiler-rt-16
+ - macosx64-x64-compiler-rt-16
+ - wasm32-wasi-compiler-rt-16
+ - win32-compiler-rt-16
+ - win64-compiler-rt-16
diff --git a/comm/taskcluster/ci/toolchain/kind.yml b/comm/taskcluster/ci/toolchain/kind.yml
new file mode 100644
index 0000000000..c2e321e52d
--- /dev/null
+++ b/comm/taskcluster/ci/toolchain/kind.yml
@@ -0,0 +1,98 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# 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/.
+---
+loader: comm_taskgraph.loader.merge:loader
+reference-base-path: taskcluster/ci
+
+kind-dependencies:
+ - fetch
+ - packages
+
+reference-jobs:
+ - linux64-aarch64-compiler-rt-16
+ - linux64-binutils
+ - linux64-cbindgen
+ - linux64-cctools-port
+ - linux64-clang-16-profile
+ - linux64-clang-16-raw
+ - linux64-clang-16-stage1
+ - linux64-clang-mingw-x64
+ - linux64-clang-mingw-x86
+ - linux64-clang-tidy
+ - linux64-dump_syms
+ - linux64-fix-stacks
+ - linux64-grcov
+ - linux64-hfsplus
+ - linux64-libdmg
+ - linux64-llvm-symbolizer
+ - linux64-makecab
+ - linux64-mar-tools
+ - linux64-minidump-stackwalk
+ - linux64-mkbom
+ - linux64-msix-packaging
+ - linux64-nasm
+ - linux64-node
+ - linux64-pkgconf
+ - linux64-python
+ - linux64-rust
+ - linux64-rust-cross
+ - linux64-rust-dev
+ - linux64-rust-macos
+ - linux64-rust-macos-toolchain
+ - linux64-rust-size
+ - linux64-rust-toolchain
+ - linux64-rust-windows
+ - linux64-rust-windows-toolchain
+ - linux64-sccache
+ - linux64-toolchain-sysroot
+ - linux64-upx
+ - linux64-winchecksec
+ - linux64-wine
+ - linux64-x64-compiler-rt-16
+ - linux64-x86-compiler-rt-16
+ - linux64-xar
+ - macosx64-aarch64-compiler-rt-16
+ - macosx64-clang-16-raw
+ - macosx64-fix-stacks
+ - macosx64-minidump-stackwalk
+ - macosx64-node
+ - macosx64-sdk
+ - macosx64-sdk-toolchain
+ - macosx64-x64-compiler-rt-16
+ - mingw32-rust
+ - nsis
+ - sysroot-aarch64-linux-gnu
+ - sysroot-i686-linux-gnu
+ - sysroot-wasm32-wasi
+ - sysroot-x86_64-linux-gnu
+ - wasm32-wasi-compiler-rt
+ - win32-compiler-rt-16
+ - win32-fix-stacks
+ - win32-minidump-stackwalk
+ - win32-node
+ - win64-cbindgen
+ - win64-clang-16-raw
+ - win64-clang-16-stage1
+ - win64-compiler-rt-16
+ - win64-dump_syms
+ - win64-llvm-symbolizer
+ - win64-mozmake
+ - win64-nasm
+ - win64-node
+ - win64-python
+ - win64-rust
+ - win64-rust-size
+ - win64-sccache
+ - win64-vs2019
+ - win64-winchecksec
+
+transforms:
+ - gecko_taskgraph.transforms.try_job:transforms
+ - gecko_taskgraph.transforms.job:transforms
+ - gecko_taskgraph.transforms.cached_tasks:transforms
+ - gecko_taskgraph.transforms.task:transforms
+
+jobs-from:
+ - clang.yml
+ - libotr.yml
diff --git a/comm/taskcluster/ci/toolchain/libotr.yml b/comm/taskcluster/ci/toolchain/libotr.yml
new file mode 100644
index 0000000000..04e7765b05
--- /dev/null
+++ b/comm/taskcluster/ci/toolchain/libotr.yml
@@ -0,0 +1,102 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# 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/.
+---
+
+job-defaults:
+ description: 'libotr library build'
+ worker-type: b-linux-gcp
+ worker:
+ max-run-time: 1800
+ treeherder:
+ kind: build
+ platform: toolchains/opt
+ tier: 1
+ run-on-projects: []
+ run:
+ using: comm-toolchain-script
+ script: build-libotr.sh
+ toolchain-artifact: public/build/libotr.tar.xz
+
+linux32-libotr:
+ treeherder:
+ symbol: TL(lib32otr)
+ run:
+ arguments: ['linux32']
+ fetches:
+ toolchain:
+ - linux64-clang
+ - linux64-binutils
+ - sysroot-i686-linux-gnu
+
+linux64-libotr:
+ treeherder:
+ symbol: TL(libotr)
+ run:
+ arguments: ['linux64']
+ fetches:
+ toolchain:
+ - linux64-clang
+ - linux64-binutils
+ - sysroot-x86_64-linux-gnu
+
+linux-aarch64-libotr:
+ treeherder:
+ symbol: TL(libotr-aarch64)
+ tier: 2
+ run:
+ arguments: ['linux-aarch64']
+ fetches:
+ toolchain:
+ - sysroot-aarch64-linux-gnu
+ - linux64-clang
+ - linux64-binutils
+
+macosx64-x64-libotr:
+ treeherder:
+ symbol: TM(libotr)
+ worker:
+ env:
+ MACOS_SDK_DIR: "MacOSX13.3.sdk"
+ MACOS_TARGET_SDK: "10.12"
+ run:
+ arguments: ['macosx64']
+ fetches:
+ toolchain:
+ - linux64-binutils
+ - linux64-cctools-port
+ - linux64-clang
+ # Uses the sdk for builds, not the -toolchain sdk
+ - macosx64-sdk
+
+macosx64-aarch64-libotr:
+ treeherder:
+ symbol: TM(libotr-aarch64)
+ worker:
+ env:
+ MACOS_SDK_DIR: "MacOSX13.3.sdk"
+ MACOS_TARGET_SDK: "11.0"
+ run:
+ arguments: ['macosx64-aarch64']
+ fetches:
+ toolchain:
+ - linux64-binutils
+ - linux64-cctools-port
+ - linux64-clang
+ - macosx64-sdk
+
+win32-libotr:
+ worker:
+ docker-image: {in-tree: tb-debian-mingw}
+ treeherder:
+ symbol: TW32(libotr)
+ run:
+ arguments: ['win32']
+
+win64-libotr:
+ worker:
+ docker-image: {in-tree: tb-debian-mingw}
+ treeherder:
+ symbol: TW64(libotr)
+ run:
+ arguments: ['win64']