# 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 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(clang5.0) worker-type: b-linux-large run: script: build-clang.sh arguments: - 'build/build-clang/clang-5.0-linux64.json' resources: - 'build/build-clang/clang-5.0-linux64.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-5.0 toolchain: - linux64-binutils - linux64-gcc-7 linux64-clang-7: description: "Clang 7 toolchain build" treeherder: symbol: TL(clang7) run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/clang-7-linux64.json' resources: - 'build/build-clang/clang-7-linux64.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-7 toolchain: - linux64-binutils - linux64-gcc-7 linux64-clang-11-mingw-x86: description: "MinGW-Clang 11 x86 toolchain build" treeherder: symbol: TMW(clang-x86) run: script: build-clang-mingw.sh arguments: - 'x86' - 'build/build-clang/clang-11-mingw.json' resources: - 'build/build-clang/clang-11-mingw.json' toolchain-alias: linux64-clang-mingw-x86 toolchain-artifact: public/build/clangmingw.tar.zst fetches: fetch: - clang-11 - mingw-w64 - libunwind - llvm-mingw - gcc-9.3.0 toolchain: - linux64-gcc-7 - linux64-binutils linux64-clang-11-mingw-x64: description: "MinGW-Clang 11 x64 toolchain build" treeherder: symbol: TMW(clang-x64) tier: 1 run: script: build-clang-mingw.sh arguments: - 'x64' - 'build/build-clang/clang-11-mingw.json' resources: - 'build/build-clang/clang-11-mingw.json' toolchain-alias: linux64-clang-mingw-x64 toolchain-artifact: public/build/clangmingw.tar.zst fetches: fetch: - clang-11 - mingw-w64 - libunwind - llvm-mingw - gcc-9.3.0 toolchain: - linux64-gcc-7 - linux64-binutils linux64-clang-10: description: "Clang 10 toolchain build" treeherder: symbol: TL(clang10) run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/clang-10-linux64.json' resources: - 'build/build-clang/clang-10-linux64.json' toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-10 toolchain: - linux64-binutils - linux64-gcc-7 - wasi-sysroot linux64-clang-11: description: "Clang 11 toolchain build" attributes: local-toolchain: true treeherder: symbol: TL(clang11) run-on-projects: [trunk] run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/clang-11-linux64.json' resources: - 'build/build-clang/clang-11-linux64.json' toolchain-alias: linux64-clang toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-11 toolchain: - linux64-binutils - linux64-gcc-7 - wasi-sysroot-11 linux64-clang-11-android-cross: description: "Clang 11 toolchain build" treeherder: symbol: TL(clang11-android) run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/clang-11-android.json' resources: - 'build/build-clang/clang-11-android.json' toolchain-alias: linux64-clang-android-cross toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-11 toolchain: - linux64-binutils - linux64-gcc-7 - linux64-android-ndk-linux-repack linux64-clang-11-aarch64-cross: description: "Clang 11 toolchain build with aarch64 runtime" treeherder: symbol: TL(clang11-aarch64) worker-type: b-linux worker: max-run-time: 5400 docker-image: {in-tree: toolchain-arm64-build} run: using: toolchain-script script: build-clang.sh arguments: - 'build/build-clang/clang-11-linux64-aarch64-cross.json' resources: - 'build/build-clang/clang-11-linux64-aarch64-cross.json' toolchain-alias: linux64-clang-aarch64-cross toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-11 toolchain: - linux64-binutils - linux64-gcc-7 linux64-clang-11-macosx-cross: description: "Clang 11 toolchain repack with MacOS Compiler RT libs" treeherder: symbol: TL(clang11-macosx-cross) worker-type: b-linux worker: max-run-time: 600 run: script: repack-clang-linux-macosx-cross.sh toolchain-alias: linux64-clang-macosx-cross toolchain-artifact: public/build/clang.tar.zst dependencies: macosx64-aarch64-compiler-rt-11: toolchain-macosx64-aarch64-compiler-rt-11 macosx64-x64-compiler-rt-11: toolchain-macosx64-x64-compiler-rt-11 fetches: toolchain: - linux64-cctools-port-clang-11 - linux64-clang-11 macosx64-aarch64-compiler-rt-11: - artifact: compiler-rt.tar.zst dest: aarch64 macosx64-x64-compiler-rt-11: - artifact: compiler-rt.tar.zst dest: x86_64 linux64-clang-11-win-cross: description: "Clang 11 toolchain repack with Windows Compiler RT libs" treeherder: symbol: TL(clang11-win-cross) worker-type: b-linux worker: max-run-time: 600 run: script: repack-clang-linux-win-cross.sh toolchain-alias: linux64-clang-win-cross toolchain-artifact: public/build/clang.tar.zst dependencies: win64-clang-cl-11-2stage: toolchain-win64-clang-cl-11-2stage fetches: toolchain: - linux64-clang-11 win64-clang-cl-11-2stage: # Put this into a new directory so it doesn't conflict with the linux toolchain - artifact: clang.tar.zst dest: clang-cl extract: false macosx64-clang-11: description: "Clang 11 toolchain build" attributes: local-toolchain: true treeherder: symbol: TM(clang-11) worker-type: b-linux-large worker: max-run-time: 3600 env: TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest" run-on-projects: - trunk run: script: build-clang.sh tooltool-downloads: internal arguments: - 'build/build-clang/clang-11-macosx64.json' resources: - 'build/build-clang/clang-11-macosx64.json' - 'taskcluster/scripts/misc/tooltool-download.sh' toolchain-alias: macosx64-clang toolchain-artifact: public/build/clang.tar.zst fetches: fetch: - clang-11 toolchain: - linux64-binutils - linux64-cctools-port-clang-11 - linux64-clang-11-macosx-cross - linux64-gcc-7 - linux64-node win64-clang-cl-11: description: "Clang-cl 11 toolchain build" attributes: local-toolchain: true treeherder: symbol: TW64(clang-cl-11) worker-type: b-win2012 worker: env: TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest" max-run-time: 9000 run-on-projects: - trunk run: script: build-clang.sh arguments: - 'build/build-clang/clang-11-win64.json' resources: - 'build/build-clang/clang-11-win64.json' - 'taskcluster/scripts/misc/tooltool-download.sh' toolchain-alias: win64-clang-cl toolchain-artifact: public/build/clang.tar.zst tooltool-downloads: internal fetches: fetch: - clang-11 - cmake - ninja win64-clang-cl-11-2stage: description: "Clang-cl 11 toolchain 2-stage quick build" treeherder: symbol: TW64(clang-cl-11-2stage) worker-type: b-win2012 worker: env: TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest" run: script: build-clang.sh arguments: - 'build/build-clang/clang-11-win64-2stage.json' resources: - 'build/build-clang/clang-11-win64-2stage.json' - 'taskcluster/scripts/misc/tooltool-download.sh' toolchain-alias: win64-clang-cl-2stage toolchain-artifact: public/build/clang.tar.zst tooltool-downloads: internal fetches: fetch: - clang-11 - cmake - ninja