Bug 1694845 - Port bug 1694784: Use sysroot for Linux builds. r=justdave
authorRob Lemley <rob@thunderbird.net>
Tue, 02 Mar 2021 18:33:08 +0000
changeset 31826 1ee68c8de38b3dc15ae9f401b3fc93fa46063f6e
parent 31825 595f5b337e38469efbc3bae80c9bea6076188bfe
child 31827 3378d07c1e8bd5bb481685b42a00d519d470de03
push id18521
push usergeoff@darktrojan.net
push dateWed, 03 Mar 2021 04:43:16 +0000
treeherdercomm-central@6745aae06040 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjustdave
bugs1694845, 1694784
Bug 1694845 - Port bug 1694784: Use sysroot for Linux builds. r=justdave Based on D106353. Differential Revision: https://phabricator.services.mozilla.com/D106363
taskcluster/ci/build/linux.yml
taskcluster/ci/searchfox/kind.yml
--- a/taskcluster/ci/build/linux.yml
+++ b/taskcluster/ci/build/linux.yml
@@ -7,17 +7,16 @@ linux64/opt:
     index:
         product: thunderbird
         job-name: linux64-opt
     treeherder:
         platform: linux64/opt
         symbol: B
     worker-type: b-linux
     worker:
-        docker-image: {in-tree: "debian8-amd64-build"}
         max-run-time: 7200
         env:
             MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
@@ -35,16 +34,17 @@ linux64/opt:
             - linux64-clang
             - linux64-dump-syms
             - linux64-libotr
             - linux64-nasm
             - linux64-node
             - linux64-rust
             - linux64-rust-size
             - linux64-sccache
+            - linux64-sysroot
 
 linux64-shippable/opt:
     description: "Linux64 Shippable"
     attributes:
         shippable: true
         nightly: true
         enable-full-crashsymbols: true
     shipping-phase: build
@@ -53,17 +53,16 @@ linux64-shippable/opt:
         product: thunderbird
         job-name: linux64-opt
         type: shippable
     treeherder:
         platform: linux64-shippable/opt
         symbol: B
     worker-type: b-linux
     worker:
-        docker-image: {in-tree: "debian8-amd64-build"}
         max-run-time: 7200
         env:
             MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
@@ -81,28 +80,28 @@ linux64-shippable/opt:
             - linux64-cbindgen
             - linux64-clang
             - linux64-dump-syms
             - linux64-libotr
             - linux64-nasm
             - linux64-node
             - linux64-rust
             - linux64-rust-size
+            - linux64-sysroot
 
 linux64/debug:
     description: "Linux64 Debug"
     index:
         product: thunderbird
         job-name: linux64-debug
     treeherder:
         platform: linux64/debug
         symbol: B
     worker-type: b-linux
     worker:
-        docker-image: {in-tree: "debian8-amd64-build"}
         max-run-time: 7200
         env:
             MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
@@ -122,16 +121,17 @@ linux64/debug:
             - linux64-clang
             - linux64-dump-syms
             - linux64-libotr
             - linux64-nasm
             - linux64-node
             - linux64-rust
             - linux64-rust-size
             - linux64-sccache
+            - linux64-sysroot
 
 linux64-asan/opt:
     description: "Linux64 Opt ASAN"
     index:
         product: thunderbird
         job-name: linux64-asan-opt
     treeherder:
         platform: linux64/asan
@@ -167,16 +167,17 @@ linux64-asan/opt:
             - linux64-dump-syms
             - linux64-llvm-symbolizer
             - linux64-libotr
             - linux64-nasm
             - linux64-node
             - linux64-rust
             - linux64-rust-size
             - linux64-sccache
+            - linux64-sysroot
 
 
 linux64-aarch64/opt:
     description: "Linux64 aarch64 Opt"
     index:
         product: thunderbird
         job-name: linux64-aarch64-opt
     attributes:
@@ -223,17 +224,16 @@ linux/opt:
     index:
         product: thunderbird
         job-name: linux32-opt
     treeherder:
         platform: linux32/opt
         symbol: B
     worker-type: b-linux
     worker:
-        docker-image: {in-tree: "debian8-i386-build"}
         max-run-time: 7200
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/testing/mozharness/configs
         config:
@@ -250,16 +250,17 @@ linux/opt:
             - linux64-clang-lib32cxx
             - linux64-dump-syms
             - linux32-libotr
             - linux64-nasm
             - linux64-node
             - linux64-rust
             - linux64-rust-size
             - linux64-sccache
+            - linux32-sysroot
 
 linux-shippable/opt:
     description: "Linux32 Shippable"
     attributes:
         shippable: true
         nightly: true
         enable-full-crashsymbols: true
     shipping-phase: build
@@ -268,17 +269,16 @@ linux-shippable/opt:
         product: thunderbird
         job-name: linux32-opt
         type: shippable
     treeherder:
         platform: linux32-shippable/opt
         symbol: B
     worker-type: b-linux
     worker:
-        docker-image: {in-tree: "debian8-i386-build"}
         max-run-time: 7200
         env:
             MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
@@ -297,28 +297,28 @@ linux-shippable/opt:
             - linux64-clang
             - linux64-clang-lib32cxx
             - linux64-dump-syms
             - linux32-libotr
             - linux64-nasm
             - linux64-node
             - linux64-rust
             - linux64-rust-size
+            - linux32-sysroot
 
 linux/debug:
     description: "Linux32 Debug"
     index:
         product: thunderbird
         job-name: linux32-debug
     treeherder:
         platform: linux32/debug
         symbol: B
     worker-type: b-linux
     worker:
-        docker-image: {in-tree: "debian8-i386-build"}
         max-run-time: 7200
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/testing/mozharness/configs
         config:
@@ -337,8 +337,9 @@ linux/debug:
             - linux64-clang-lib32cxx
             - linux64-dump-syms
             - linux32-libotr
             - linux64-nasm
             - linux64-node
             - linux64-rust
             - linux64-rust-size
             - linux64-sccache
+            - linux32-sysroot
--- a/taskcluster/ci/searchfox/kind.yml
+++ b/taskcluster/ci/searchfox/kind.yml
@@ -56,16 +56,17 @@ jobs:
                 - linux64-binutils
                 - linux64-cbindgen
                 - linux64-clang
                 - linux64-dump-syms
                 - linux64-libotr
                 - linux64-nasm
                 - linux64-node
                 - linux64-rust
+                - linux64-sysroot
 
     macosx64-searchfox/debug:
         description: "MacOS X x64 Debug Cross-compile Searchfox"
         index:
             job-name: macosx64-searchfox-debug
         treeherder:
             platform: osx-cross/debug
         worker-type: b-linux