summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/toolchain/sysroot.yml
blob: 4a5096285a4bdf21dc6c56a707bf77c0e6fb0a8d (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# 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-gcp
    worker:
        max-run-time: 1800
    run:
        using: toolchain-script
        script: build-sysroot.sh
        toolchain-artifact: public/build/sysroot.tar.zst

sysroot-i686-linux-gnu:
    description: "Sysroot for linux32 builds"
    attributes:
        local-toolchain: true
    worker:
        env:
            PACKAGES_TASKS: {task-reference: '<gcc-8>'}
    treeherder:
        symbol: TL(sysroot32)
    dependencies:
        gcc-8: packages-deb8-32-gcc-8
    run:
        toolchain-artifact: public/build/sysroot-i686-linux-gnu.tar.zst
        arguments:
            - i386

sysroot-x86_64-linux-gnu:
    description: "Sysroot for linux64 builds"
    attributes:
        local-toolchain: true
    worker:
        env:
            PACKAGES_TASKS: {task-reference: '<gcc-8>'}
    treeherder:
        symbol: TL(sysroot64)
    dependencies:
        gcc-8: packages-deb8-gcc-8
    run:
        toolchain-artifact: public/build/sysroot-x86_64-linux-gnu.tar.zst
        arguments:
            - amd64

sysroot-x86_64-linux-gnu-x11:
    description: "Sysroot for linux64 builds (X11-only)"
    attributes:
        local-toolchain: true
    worker:
        env:
            PACKAGES_TASKS: {task-reference: '<gcc-8> <gtk3>'}
    treeherder:
        symbol: TL(sysroot64-x11)
    dependencies:
        gcc-8: packages-deb8-gcc-8
        gtk3: packages-deb8-gtk3
    run:
        toolchain-artifact: public/build/sysroot-x86_64-linux-gnu.tar.zst
        arguments:
            - amd64

sysroot-wasm32-wasi-clang-16:
    description: "Sysroot for wasi"
    attributes:
        local-toolchain: true
    treeherder:
        symbol: TL(sysroot-wasi-16)
    run:
        script: build-sysroot-wasi.sh
        toolchain-alias:
            by-project:
                toolchains: null
                default: sysroot-wasm32-wasi
        toolchain-artifact: public/build/sysroot-wasm32-wasi.tar.zst
    fetches:
        fetch:
            - clang-16
            - wasi-sdk
        toolchain:
            - linux64-clang-16-stage1
            - wasm32-wasi-compiler-rt-16

sysroot-wasm32-wasi-clang-trunk:
    description: "Sysroot for wasi"
    attributes:
        cached_task: false
    treeherder:
        symbol: TL(sysroot-wasi-trunk)
    run:
        script: build-sysroot-wasi.sh
        toolchain-alias:
            by-project:
                toolchains: sysroot-wasm32-wasi
                default: null
        toolchain-artifact: public/build/sysroot-wasm32-wasi.tar.zst
    fetches:
        fetch:
            - clang-trunk
            - wasi-sdk
        toolchain:
            - linux64-clang-trunk-stage1
            - wasm32-wasi-compiler-rt-trunk

sysroot-aarch64-linux-gnu:
    description: "Sysroot for linux64 aarch64 builds"
    attributes:
        local-toolchain: true
    treeherder:
        symbol: TL(sysroot-aarch64)
    run:
        toolchain-artifact: public/build/sysroot-aarch64-linux-gnu.tar.zst
        arguments:
            - arm64

linux32-toolchain-sysroot:
    description: "Sysroot for linux32 toolchain builds"
    worker:
        env:
            PACKAGES_TASKS: {task-reference: '<gcc-8>'}
    treeherder:
        symbol: TL(sysroot32-toolchain)
    dependencies:
        gcc-8: packages-deb8-32-gcc-8
    run:
        arguments:
            - i386
            # For clang
            - binutils-dev
            - libxml2-dev
            # For minidump-stackwalk
            - libcurl4-openssl-dev
            - libssl-dev
            - libbz2-dev
            # For msix-package
            - libicu-dev

linux64-toolchain-sysroot:
    description: "Sysroot for linux64 toolchain builds"
    worker:
        env:
            PACKAGES_TASKS: {task-reference: '<gcc-8>'}
    treeherder:
        symbol: TL(sysroot64-toolchain)
    dependencies:
        gcc-8: packages-deb8-gcc-8
    run:
        arguments:
            - amd64
            # For clang
            - binutils-dev
            - gcc-multilib
            - lib32stdc++-8-dev
            - libxml2-dev
            # For minidump-stackwalk
            - libcurl4-openssl-dev
            - libssl-dev
            - libbz2-dev
            # For msix-package
            - libicu-dev