summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/toolchain/clang.yml
blob: a74d39f61212c2179df7427e0867f013afafd527 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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