# 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: worker-type: b-linux-xlarge-gcp worker: max-run-time: 7200 run: resources: - 'build/build-clang/build-clang.py' linux64-clang-5.0: description: "Clang 5.0 toolchain build" treeherder: symbol: TL(clang-5.0) worker-type: b-linux-large-gcp run: script: build-clang.sh arguments: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-5.0.json' - 'build/build-clang/2stages.json' resources: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-5.0.json' - 'build/build-clang/2stages.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-5.0 toolchain: - linux64-toolchain-sysroot linux64-clang-14-stage1: description: "Clang 14 toolchain build" treeherder: symbol: TL(clang-14-stage1) run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-14.json' - 'build/build-clang/1stage.json' resources: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-14.json' - 'build/build-clang/1stage.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-14 toolchain: - linux64-toolchain-sysroot linux64-clang-14: description: "Clang 14 toolchain build" attributes: local-toolchain: true treeherder: symbol: TL(clang-14) 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-clang-14-stage1 macosx64-clang-14-raw: description: "Clang 14 toolchain build" treeherder: symbol: TM(clang-14-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-14.json' - 'build/build-clang/1stage.json' resources: - 'build/build-clang/macosx64.json' - 'build/build-clang/clang-14.json' - 'build/build-clang/1stage.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-14 toolchain: - linux64-cctools-port - linux64-clang-14-stage1 - macosx64-sdk linux64-clang-15-mingw-x86: description: "MinGW-Clang 15 x86 toolchain build" treeherder: symbol: TMW(clang-15-x86) worker-type: b-linux-gcp run: script: build-clang-mingw.sh arguments: - 'x86' toolchain-alias: by-project: toolchains: null default: linux64-clang-mingw-x86 toolchain-artifact: public/build/clangmingw.tar.zst fetches: fetch: - clang-15 - mingw-w64 - llvm-mingw - gcc-9.4.0 toolchain: - linux64-clang-15 linux64-clang-15-mingw-x64: description: "MinGW-Clang 15 x64 toolchain build" treeherder: symbol: TMW(clang-15-x64) tier: 1 worker-type: b-linux-gcp run: script: build-clang-mingw.sh arguments: - 'x64' toolchain-alias: by-project: toolchains: null default: linux64-clang-mingw-x64 toolchain-artifact: public/build/clangmingw.tar.zst fetches: fetch: - clang-15 - mingw-w64 - llvm-mingw - gcc-9.4.0 toolchain: - linux64-clang-15 linux64-clang-15-stage1: description: "Clang 15 toolchain build" treeherder: symbol: TL(clang-15-stage1) run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/1stage.json' resources: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/1stage.json' toolchain-alias: by-project: toolchains: null default: linux64-clang-toolchain toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-15 toolchain: - linux64-toolchain-sysroot linux64-clang-15-profile: description: "Clang 15 toolchain build" treeherder: symbol: TL(clang-15-profile) run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/skip-stage-1.json' - 'build/build-clang/profile.json' resources: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/skip-stage-1.json' - 'build/build-clang/profile.json' toolchain-artifact: public/build/merged.profdata fetches: fetch: - clang-15 toolchain: - linux64-clang-15-stage1 - linux64-x64-compiler-rt-15 - linux64-toolchain-sysroot linux64-clang-15-raw: description: "Clang 15 toolchain build" treeherder: symbol: TL(clang-15-raw) run: script: build-clang.sh arguments: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' resources: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-15 toolchain: - linux64-clang-15-stage1 - linux64-clang-15-profile - linux64-toolchain-sysroot linux64-clang-15: description: "Clang 15 toolchain build" attributes: local-toolchain: true treeherder: symbol: TL(clang-15) 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-15-raw - android-aarch64-compiler-rt-15 - android-arm-compiler-rt-15 - android-x64-compiler-rt-15 - android-x86-compiler-rt-15 - linux64-aarch64-compiler-rt-15 - linux64-x64-compiler-rt-15 - linux64-x86-compiler-rt-15 - macosx64-aarch64-compiler-rt-15 - macosx64-x64-compiler-rt-15 - wasm32-wasi-compiler-rt-15 - win32-compiler-rt-15 - win64-compiler-rt-15 macosx64-clang-15-raw: description: "Clang 15 toolchain build" treeherder: symbol: TM(clang-15-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-15.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' resources: - 'build/build-clang/macosx64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-15 toolchain: - linux64-cctools-port - linux64-clang-15-stage1 - linux64-clang-15-profile - macosx64-sdk - macosx64-x64-compiler-rt-15 macosx64-clang-15: description: "Clang 15 toolchain repack with MacOS Compiler RT libs" attributes: local-toolchain: true treeherder: symbol: TM(clang-15) worker-type: b-linux-gcp worker: max-run-time: 600 run: script: repack-clang.sh toolchain-alias: by-project: toolchains: null default: - macosx64-clang - macosx64-clang-toolchain toolchain-artifact: public/build/clang.tar.zst fetches: toolchain: - linux64-cctools-port - macosx64-clang-15-raw - android-aarch64-compiler-rt-15 - android-arm-compiler-rt-15 - android-x64-compiler-rt-15 - android-x86-compiler-rt-15 - linux64-aarch64-compiler-rt-15 - linux64-x64-compiler-rt-15 - linux64-x86-compiler-rt-15 - macosx64-aarch64-compiler-rt-15 - macosx64-x64-compiler-rt-15 - wasm32-wasi-compiler-rt-15 - win32-compiler-rt-15 - win64-compiler-rt-15 macosx64-aarch64-clang-15-raw: description: "Clang 15 toolchain build" treeherder: symbol: TM(clang-15-aarch64-raw) worker-type: b-linux-large-gcp worker: env: OSX_ARCH: arm64 max-run-time: 3600 run: script: build-clang.sh arguments: - 'build/build-clang/macosx64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' resources: - 'build/build-clang/macosx64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-15 toolchain: - linux64-cctools-port - linux64-clang-15-stage1 - linux64-clang-15-profile - macosx64-sdk - macosx64-aarch64-compiler-rt-15 macosx64-aarch64-clang-15: description: "Clang 15 toolchain repack with MacOS Compiler RT libs" attributes: local-toolchain: true treeherder: symbol: TM(clang-15-aarch64) worker-type: b-linux-gcp worker: max-run-time: 600 run: script: repack-clang.sh toolchain-alias: by-project: toolchains: null default: macosx64-aarch64-clang toolchain-artifact: public/build/clang.tar.zst fetches: toolchain: - linux64-cctools-port - macosx64-aarch64-clang-15-raw - android-aarch64-compiler-rt-15 - android-arm-compiler-rt-15 - android-x64-compiler-rt-15 - android-x86-compiler-rt-15 - linux64-aarch64-compiler-rt-15 - linux64-x64-compiler-rt-15 - linux64-x86-compiler-rt-15 - macosx64-aarch64-compiler-rt-15 - macosx64-x64-compiler-rt-15 - wasm32-wasi-compiler-rt-15 - win32-compiler-rt-15 - win64-compiler-rt-15 win64-clang-15-stage1: description: "Clang-cl 15 toolchain build stage 1" treeherder: symbol: TW64(clang-15-stage1) worker-type: b-win2012 run: script: build-clang.sh arguments: - 'build/build-clang/win64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/1stage.json' resources: - 'build/build-clang/win64.json' - 'build/build-clang/clang-15.json' - 'build/build-clang/1stage.json' toolchain-alias: by-project: toolchains: null default: win64-clang-toolchain toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-15 - cmake - ninja toolchain: - win64-vs2019 win64-clang-15-raw: description: "Clang-cl 15 toolchain build" treeherder: symbol: TW64(clang-15-raw) worker-type: b-win2012 worker: max-run-time: 9000 run: script: build-clang.sh arguments: - 'build/build-clang/win64.json' - 'build/build-clang/clang-15.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-15.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-15 - cmake - ninja toolchain: - win64-clang-15-stage1 - win64-compiler-rt-15 - win64-vs2019 win64-clang-15: description: "Clang-cl 15 toolchain build" attributes: local-toolchain: true treeherder: symbol: TW64(clang-15) 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-15-raw - android-aarch64-compiler-rt-15 - android-arm-compiler-rt-15 - android-x64-compiler-rt-15 - android-x86-compiler-rt-15 - linux64-aarch64-compiler-rt-15 - linux64-x64-compiler-rt-15 - linux64-x86-compiler-rt-15 - macosx64-aarch64-compiler-rt-15 - macosx64-x64-compiler-rt-15 - wasm32-wasi-compiler-rt-15 - win32-compiler-rt-15 - win64-compiler-rt-15 linux64-clang-trunk-mingw-x86: description: "MinGW-Clang trunk x86 toolchain build" attributes: cached_task: false treeherder: symbol: TMW(clang-trunk-x86) worker-type: b-linux-gcp run: script: build-clang-mingw.sh arguments: - 'x86' toolchain-alias: by-project: toolchains: linux64-clang-mingw-x86 default: null toolchain-artifact: public/build/clangmingw.tar.zst fetches: fetch: - clang-trunk - mingw-w64 - llvm-mingw - gcc-9.4.0 toolchain: - linux64-clang-trunk linux64-clang-trunk-mingw-x64: description: "MinGW-Clang trunk x64 toolchain build" attributes: cached_task: false treeherder: symbol: TMW(clang-trunk-x64) tier: 1 worker-type: b-linux-gcp run: script: build-clang-mingw.sh arguments: - 'x64' toolchain-alias: by-project: toolchains: linux64-clang-mingw-x64 default: null toolchain-artifact: public/build/clangmingw.tar.zst fetches: fetch: - clang-trunk - mingw-w64 - llvm-mingw - gcc-9.4.0 toolchain: - linux64-clang-trunk linux64-clang-trunk-stage1: description: "Clang trunk toolchain build" attributes: cached_task: false treeherder: symbol: TL(clang-trunk-stage1) run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/1stage.json' resources: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/1stage.json' toolchain-alias: by-project: toolchains: linux64-clang-toolchain default: null toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-trunk toolchain: - linux64-toolchain-sysroot linux64-clang-trunk-profile: description: "Clang trunk toolchain build" attributes: cached_task: false treeherder: symbol: TL(clang-trunk-profile) run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/skip-stage-1.json' - 'build/build-clang/profile.json' resources: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/skip-stage-1.json' - 'build/build-clang/profile.json' toolchain-artifact: public/build/merged.profdata fetches: fetch: - clang-trunk toolchain: - linux64-clang-trunk-stage1 - linux64-x64-compiler-rt-trunk - linux64-toolchain-sysroot linux64-clang-trunk-raw: description: "Clang trunk toolchain build" attributes: cached_task: false treeherder: symbol: TL(clang-trunk-raw) run: script: build-clang.sh arguments: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' resources: - 'build/build-clang/linux64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-trunk toolchain: - linux64-clang-trunk-stage1 - linux64-clang-trunk-profile - linux64-toolchain-sysroot linux64-clang-trunk: description: "Clang trunk toolchain build" attributes: cached_task: false treeherder: symbol: TL(clang-trunk) worker-type: b-linux-gcp worker: max-run-time: 600 run: script: repack-clang.sh toolchain-alias: by-project: toolchains: linux64-clang default: null toolchain-artifact: public/build/clang.tar.zst fetches: toolchain: - linux64-cctools-port - linux64-clang-trunk-raw - android-aarch64-compiler-rt-trunk - android-arm-compiler-rt-trunk - android-x64-compiler-rt-trunk - android-x86-compiler-rt-trunk - linux64-aarch64-compiler-rt-trunk - linux64-x64-compiler-rt-trunk - linux64-x86-compiler-rt-trunk - macosx64-aarch64-compiler-rt-trunk - macosx64-x64-compiler-rt-trunk - wasm32-wasi-compiler-rt-trunk - win32-compiler-rt-trunk - win64-compiler-rt-trunk macosx64-clang-trunk-raw: description: "Clang trunk toolchain build" attributes: cached_task: false treeherder: symbol: TM(clang-trunk-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-trunk.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' resources: - 'build/build-clang/macosx64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-trunk toolchain: - linux64-cctools-port - linux64-clang-trunk-stage1 - linux64-clang-trunk-profile - macosx64-sdk - macosx64-x64-compiler-rt-trunk macosx64-clang-trunk: description: "Clang trunk toolchain repack with MacOS Compiler RT libs" attributes: cached_task: false treeherder: symbol: TM(clang-trunk) worker-type: b-linux-gcp worker: max-run-time: 600 run: script: repack-clang.sh toolchain-alias: by-project: toolchains: - macosx64-clang - macosx64-clang-toolchain default: null toolchain-artifact: public/build/clang.tar.zst fetches: toolchain: - linux64-cctools-port - macosx64-clang-trunk-raw - android-aarch64-compiler-rt-trunk - android-arm-compiler-rt-trunk - android-x64-compiler-rt-trunk - android-x86-compiler-rt-trunk - linux64-aarch64-compiler-rt-trunk - linux64-x64-compiler-rt-trunk - linux64-x86-compiler-rt-trunk - macosx64-aarch64-compiler-rt-trunk - macosx64-x64-compiler-rt-trunk - wasm32-wasi-compiler-rt-trunk - win32-compiler-rt-trunk - win64-compiler-rt-trunk macosx64-aarch64-clang-trunk-raw: description: "Clang trunk toolchain build" attributes: cached_task: false treeherder: symbol: TM(clang-trunk-aarch64-raw) worker-type: b-linux-large-gcp worker: env: OSX_ARCH: arm64 max-run-time: 3600 run: script: build-clang.sh arguments: - 'build/build-clang/macosx64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' resources: - 'build/build-clang/macosx64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/skip-3-stages.json' - 'build/build-clang/4stages-pgo.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-trunk toolchain: - linux64-cctools-port - linux64-clang-trunk-stage1 - linux64-clang-trunk-profile - macosx64-sdk - macosx64-aarch64-compiler-rt-trunk macosx64-aarch64-clang-trunk: description: "Clang trunk toolchain repack with MacOS Compiler RT libs" attributes: cached_task: false treeherder: symbol: TM(clang-trunk-aarch64) worker-type: b-linux-gcp worker: max-run-time: 600 run: script: repack-clang.sh toolchain-alias: by-project: toolchains: macosx64-aarch64-clang default: null toolchain-artifact: public/build/clang.tar.zst fetches: toolchain: - linux64-cctools-port - macosx64-aarch64-clang-trunk-raw - android-aarch64-compiler-rt-trunk - android-arm-compiler-rt-trunk - android-x64-compiler-rt-trunk - android-x86-compiler-rt-trunk - linux64-aarch64-compiler-rt-trunk - linux64-x64-compiler-rt-trunk - linux64-x86-compiler-rt-trunk - macosx64-aarch64-compiler-rt-trunk - macosx64-x64-compiler-rt-trunk - wasm32-wasi-compiler-rt-trunk - win32-compiler-rt-trunk - win64-compiler-rt-trunk win64-clang-trunk-stage1: description: "Clang-cl trunk toolchain build stage 1" attributes: cached_task: false treeherder: symbol: TW64(clang-trunk-stage1) worker-type: b-win2012 run: script: build-clang.sh arguments: - 'build/build-clang/win64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/1stage.json' resources: - 'build/build-clang/win64.json' - 'build/build-clang/clang-trunk.json' - 'build/build-clang/1stage.json' toolchain-alias: by-project: toolchains: win64-clang-toolchain default: null toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-trunk - cmake - ninja toolchain: - win64-vs2019 win64-clang-trunk-raw: description: "Clang-cl trunk toolchain build" attributes: cached_task: false treeherder: symbol: TW64(clang-trunk-raw) worker-type: b-win2012 worker: max-run-time: 9000 run: script: build-clang.sh arguments: - 'build/build-clang/win64.json' - 'build/build-clang/clang-trunk.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-trunk.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-trunk - cmake - ninja toolchain: - win64-clang-trunk-stage1 - win64-compiler-rt-trunk - win64-vs2019 win64-clang-trunk: description: "Clang-cl trunk toolchain build" attributes: cached_task: false treeherder: symbol: TW64(clang-trunk) worker-type: b-linux-gcp worker: max-run-time: 600 run: script: repack-clang.sh toolchain-alias: by-project: toolchains: win64-clang default: null toolchain-artifact: public/build/clang.tar.zst fetches: toolchain: - linux64-cctools-port - win64-clang-trunk-raw - android-aarch64-compiler-rt-trunk - android-arm-compiler-rt-trunk - android-x64-compiler-rt-trunk - android-x86-compiler-rt-trunk - linux64-aarch64-compiler-rt-trunk - linux64-x64-compiler-rt-trunk - linux64-x86-compiler-rt-trunk - macosx64-aarch64-compiler-rt-trunk - macosx64-x64-compiler-rt-trunk - wasm32-wasi-compiler-rt-trunk - win32-compiler-rt-trunk - win64-compiler-rt-trunk