tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

sysroot.yml (7099B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 ---
      5 task-defaults:
      6    worker-type: b-linux-docker-amd
      7    worker:
      8        max-run-time: 1800
      9    run:
     10        using: toolchain-script
     11        script: build-sysroot.sh
     12        toolchain-artifact: public/build/sysroot.tar.zst
     13 
     14 sysroot-i686-linux-gnu:
     15    description: "Sysroot for linux32 builds"
     16    attributes:
     17        local-toolchain: true
     18    worker:
     19        env:
     20            PACKAGES_TASKS: {task-reference: '<gcc-10>'}
     21            GCC_VERSION: '10'
     22    treeherder:
     23        symbol: TL32(sysroot)
     24    dependencies:
     25        gcc-10: packages-deb8-32-gcc-10
     26    run:
     27        toolchain-artifact: public/build/sysroot-i686-linux-gnu.tar.zst
     28        arguments:
     29            - i386
     30 
     31 sysroot-x86_64-linux-gnu:
     32    description: "Sysroot for linux64 builds"
     33    attributes:
     34        local-toolchain: true
     35    worker:
     36        env:
     37            PACKAGES_TASKS: {task-reference: '<gcc-10>'}
     38            GCC_VERSION: '10'
     39    treeherder:
     40        symbol: TL(sysroot)
     41    dependencies:
     42        gcc-10: packages-deb8-gcc-10
     43    run:
     44        toolchain-artifact: public/build/sysroot-x86_64-linux-gnu.tar.zst
     45        arguments:
     46            - amd64
     47 
     48 sysroot-x86_64-linux-gnu-x11:
     49    description: "Sysroot for linux64 builds (X11-only)"
     50    attributes:
     51        local-toolchain: true
     52    worker:
     53        env:
     54            PACKAGES_TASKS: {task-reference: '<gcc-10> <gtk3>'}
     55            GCC_VERSION: '10'
     56    treeherder:
     57        symbol: TL(sysroot-x11)
     58    dependencies:
     59        gcc-10: packages-deb8-gcc-10
     60        gtk3: packages-deb8-gtk3
     61    run:
     62        toolchain-artifact: public/build/sysroot-x86_64-linux-gnu.tar.zst
     63        arguments:
     64            - amd64
     65 
     66 sysroot-wasm32-wasi-clang-17:
     67    description: "Sysroot for wasi"
     68    attributes:
     69        local-toolchain: true
     70    treeherder:
     71        symbol: TL(sysroot-wasi-17)
     72    run:
     73        script: build-sysroot-wasi.sh
     74        arguments:
     75            - wasi-sdk.patch
     76        resources:
     77            - taskcluster/scripts/misc/wasi-sdk.patch
     78        toolchain-alias: sysroot-wasm32-wasi-clang-base
     79        toolchain-artifact: public/build/sysroot-wasm32-wasi.tar.zst
     80    fetches:
     81        fetch:
     82            - clang-17
     83            - wasi-sdk
     84        toolchain:
     85            - linux64-clang-17-raw
     86            - wasm32-wasi-compiler-rt-17
     87 
     88 sysroot-wasm32-wasi-clang-20:
     89    description: "Sysroot for wasi"
     90    attributes:
     91        local-toolchain: true
     92    treeherder:
     93        symbol: TL(sysroot-wasi-20)
     94    run:
     95        script: build-sysroot-wasi.sh
     96        arguments:
     97            - wasi-sdk.patch
     98        resources:
     99            - taskcluster/scripts/misc/wasi-sdk.patch
    100        toolchain-alias:
    101            by-project:
    102                toolchains: null
    103                default: sysroot-wasm32-wasi
    104        toolchain-artifact: public/build/sysroot-wasm32-wasi.tar.zst
    105    fetches:
    106        fetch:
    107            - clang-20
    108            - wasi-sdk
    109        toolchain:
    110            - linux64-clang-20-stage1
    111            - wasm32-wasi-compiler-rt-20
    112 
    113 sysroot-wasm32-wasi-clang-21:
    114    description: "Sysroot for wasi"
    115    attributes:
    116        local-toolchain: true
    117    treeherder:
    118        symbol: TL(sysroot-wasi-21)
    119    run:
    120        script: build-sysroot-wasi.sh
    121        arguments:
    122            - wasi-sdk.patch
    123        resources:
    124            - taskcluster/scripts/misc/wasi-sdk.patch
    125        toolchain-artifact: public/build/sysroot-wasm32-wasi.tar.zst
    126    fetches:
    127        fetch:
    128            - clang-21
    129            - wasi-sdk
    130        toolchain:
    131            - linux64-clang-21-stage1
    132            - wasm32-wasi-compiler-rt-21
    133 
    134 sysroot-wasm32-wasi-clang-trunk:
    135    description: "Sysroot for wasi"
    136    attributes:
    137        cached_task: false
    138    treeherder:
    139        symbol: TL(sysroot-wasi-trunk)
    140    run:
    141        script: build-sysroot-wasi.sh
    142        arguments:
    143            - wasi-sdk.patch
    144        resources:
    145            - taskcluster/scripts/misc/wasi-sdk.patch
    146        toolchain-alias:
    147            by-project:
    148                toolchains: sysroot-wasm32-wasi
    149                default: null
    150        toolchain-artifact: public/build/sysroot-wasm32-wasi.tar.zst
    151    fetches:
    152        fetch:
    153            - clang-trunk
    154            - wasi-sdk
    155        toolchain:
    156            - linux64-clang-trunk-stage1
    157            - wasm32-wasi-compiler-rt-trunk
    158 
    159 sysroot-aarch64-linux-gnu:
    160    description: "Sysroot for linux64 aarch64 builds"
    161    attributes:
    162        local-toolchain: true
    163    worker:
    164        env:
    165            PACKAGES_TASKS: {task-reference: '<gcc-10>'}
    166            GCC_VERSION: '10'
    167    treeherder:
    168        symbol: TLA64(sysroot)
    169    dependencies:
    170        gcc-10: packages-deb10-arm64-gcc-10
    171    run:
    172        toolchain-artifact: public/build/sysroot-aarch64-linux-gnu.tar.zst
    173        arguments:
    174            - arm64
    175 
    176 linux32-toolchain-sysroot:
    177    description: "Sysroot for linux32 toolchain builds"
    178    worker:
    179        env:
    180            PACKAGES_TASKS: {task-reference: '<gcc-8>'}
    181            GCC_VERSION: '8'
    182    treeherder:
    183        symbol: TL32(sysroot-toolchain)
    184    dependencies:
    185        gcc-8: packages-deb8-32-gcc-8
    186    run:
    187        arguments:
    188            - i386
    189            # For clang
    190            - binutils-dev
    191            - libxml2-dev
    192 
    193 linux64-toolchain-sysroot:
    194    description: "Sysroot for linux64 toolchain builds"
    195    worker:
    196        env:
    197            PACKAGES_TASKS: {task-reference: '<gcc-8>'}
    198            GCC_VERSION: '8'
    199    treeherder:
    200        symbol: TL(sysroot-toolchain)
    201    dependencies:
    202        gcc-8: packages-deb8-gcc-8
    203    run:
    204        arguments:
    205            - amd64
    206            # For clang
    207            - binutils-dev
    208            - gcc-multilib
    209            - lib32stdc++-8-dev
    210            - libxml2-dev
    211            # For minidump-stackwalk
    212            - libcurl4-openssl-dev
    213            - libssl-dev
    214            - libbz2-dev
    215            # For msix-package
    216            - libicu-dev
    217            # For libdmg-hfsplus
    218            - liblzma-dev
    219 
    220 linux64-toolchain-sysroot-gcc10:
    221    description: "Sysroot for linux64 toolchain builds"
    222    worker:
    223        env:
    224            PACKAGES_TASKS: {task-reference: '<gcc-10>'}
    225            GCC_VERSION: '10'
    226    treeherder:
    227        symbol: TL(sysroot-toolchain-gcc10)
    228    dependencies:
    229        gcc-10: packages-deb8-gcc-10
    230    run:
    231        arguments:
    232            - amd64
    233            # For clang
    234            - binutils-dev
    235            - gcc-multilib
    236            - lib32stdc++-10-dev
    237            - libxml2-dev
    238            # For minidump-stackwalk
    239            - libcurl4-openssl-dev
    240            - libssl-dev
    241            - libbz2-dev
    242            # For msix-package
    243            - libicu-dev
    244            # For libdmg-hfsplus
    245            - liblzma-dev
    246 
    247 linux64-aarch64-toolchain-sysroot:
    248    description: "Sysroot for aarch64 linux64 toolchain builds"
    249    treeherder:
    250        symbol: TLA64(sysroot-toolchain)
    251    run:
    252        arguments:
    253            - arm64
    254            # For clang
    255            - binutils-dev
    256            - libxml2-dev