Bug 1490542 - Remove the Linux LTO builds. r=froydnj
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 12 Sep 2018 10:58:59 +0900
changeset 436114 f19b49c6fa1de6c61d4f88a828434a798a02751f
parent 436113 dfa48fdb5b446822b5025ba30e51798937816ee2
child 436115 c40bdf96e9fd2933d110c03e2d9bd53fb7b88aad
push id34628
push userebalazs@mozilla.com
push dateThu, 13 Sep 2018 09:38:17 +0000
treeherdermozilla-central@efccb758c78c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1490542
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1490542 - Remove the Linux LTO builds. r=froydnj Now that Linux PGO builds also do LTO and all the Linux builds use clang, there's not much use for separate LTO builds. Differential Revision: https://phabricator.services.mozilla.com/D5632
browser/config/mozconfigs/linux64/debug-lto
browser/config/mozconfigs/linux64/nightly-lto
build/unix/mozconfig.lto
taskcluster/ci/build/linux.yml
testing/mozharness/configs/builds/releng_sub_linux_configs/64_lto_tc.py
testing/mozharness/configs/builds/releng_sub_linux_configs/64_lto_tc_and_debug.py
testing/mozharness/mozharness/mozilla/building/buildbase.py
deleted file mode 100644
--- a/browser/config/mozconfigs/linux64/debug-lto
+++ /dev/null
@@ -1,17 +0,0 @@
-ac_add_options --enable-debug
-ac_add_options --enable-optimize="-O1"
-
-. $topsrcdir/build/mozconfig.stylo
-
-. $topsrcdir/build/unix/mozconfig.lto
-
-# Enable Telemetry
-export MOZ_TELEMETRY_REPORTING=1
-
-# Package js shell.
-export MOZ_PACKAGE_JSSHELL=1
-
-# Need this to prevent name conflicts with the normal nightly build packages
-export MOZ_PKG_SPECIAL=lto
-
-. "$topsrcdir/build/mozconfig.common.override"
deleted file mode 100644
--- a/browser/config/mozconfigs/linux64/nightly-lto
+++ /dev/null
@@ -1,14 +0,0 @@
-ac_add_options --disable-debug
-ac_add_options --enable-optimize="-O2"
-
-. $topsrcdir/build/mozconfig.stylo
-
-. $topsrcdir/build/unix/mozconfig.lto
-
-# Package js shell.
-export MOZ_PACKAGE_JSSHELL=1
-
-# Need this to prevent name conflicts with the normal nightly build packages
-export MOZ_PKG_SPECIAL=lto
-
-. "$topsrcdir/build/mozconfig.common.override"
deleted file mode 100644
--- a/build/unix/mozconfig.lto
+++ /dev/null
@@ -1,10 +0,0 @@
-MOZ_AUTOMATION_L10N_CHECK=0
-
-. "$topsrcdir/build/unix/mozconfig.linux"
-
-# Use Clang as specified in manifest
-export AR="$topsrcdir/clang/bin/llvm-ar"
-export NM="$topsrcdir/clang/bin/llvm-nm"
-export RANLIB="$topsrcdir/clang/bin/llvm-ranlib"
-
-ac_add_options --enable-lto
--- a/taskcluster/ci/build/linux.yml
+++ b/taskcluster/ci/build/linux.yml
@@ -781,84 +781,16 @@ linux64-asan/debug:
         - linux64-binutils
         - linux64-clang
         - linux64-rust
         - linux64-rust-size
         - linux64-cbindgen
         - linux64-sccache
         - linux64-node
 
-linux64-lto/opt:
-    description: "Linux64 Opt LTO"
-    index:
-        product: firefox
-        job-name: linux64-lto-opt
-    treeherder:
-        platform: linux64/lto
-        symbol: Bo
-        tier: 2
-    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
-    worker:
-        env:
-            PERFHERDER_EXTRA_OPTIONS: "opt lto"
-        max-run-time: 7200
-    run:
-        using: mozharness
-        actions: [get-secrets build check-test update]
-        config:
-            - builds/releng_base_firefox.py
-            - builds/releng_base_linux_64_builds.py
-        script: "mozharness/scripts/fx_desktop_build.py"
-        secrets: true
-        custom-build-variant-cfg: lto-tc
-        tooltool-downloads: public
-        need-xvfb: true
-    toolchains:
-        - linux64-binutils
-        - linux64-clang
-        - linux64-rust
-        - linux64-rust-size
-        - linux64-cbindgen
-        - linux64-sccache
-        - linux64-node
-
-linux64-lto/debug:
-    description: "Linux64 Debug LTO"
-    index:
-        product: firefox
-        job-name: linux64-lto-debug
-    treeherder:
-        platform: linux64/lto
-        symbol: Bd
-        tier: 2
-    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
-    worker:
-        env:
-            PERFHERDER_EXTRA_OPTIONS: "debug lto"
-        max-run-time: 7200
-    run:
-        using: mozharness
-        actions: [get-secrets build check-test update]
-        config:
-            - builds/releng_base_firefox.py
-            - builds/releng_base_linux_64_builds.py
-        script: "mozharness/scripts/fx_desktop_build.py"
-        secrets: true
-        custom-build-variant-cfg: lto-tc-and-debug
-        tooltool-downloads: public
-        need-xvfb: true
-    toolchains:
-        - linux64-binutils
-        - linux64-clang
-        - linux64-rust
-        - linux64-rust-size
-        - linux64-cbindgen
-        - linux64-sccache
-        - linux64-node
-
 linux64-nightly/opt:
     description: "Linux64 Nightly"
     attributes:
         nightly: true
         enable-full-crashsymbols: true
     shipping-phase: build
     shipping-product: firefox
     index:
deleted file mode 100644
--- a/testing/mozharness/configs/builds/releng_sub_linux_configs/64_lto_tc.py
+++ /dev/null
@@ -1,10 +0,0 @@
-config = {
-    'default_actions': [
-        'clobber',
-        'build',
-        'check-test',
-        # 'update',
-    ],
-    'stage_platform': 'linux64-lto',
-    'mozconfig_variant': 'nightly-lto',
-}
deleted file mode 100644
--- a/testing/mozharness/configs/builds/releng_sub_linux_configs/64_lto_tc_and_debug.py
+++ /dev/null
@@ -1,11 +0,0 @@
-config = {
-    'default_actions': [
-        'clobber',
-        'build',
-        'check-test',
-        # 'update',
-    ],
-    'stage_platform': 'linux64-lto-debug',
-    'debug_build': True,
-    'mozconfig_variant': 'debug-lto',
-}
--- a/testing/mozharness/mozharness/mozilla/building/buildbase.py
+++ b/testing/mozharness/mozharness/mozilla/building/buildbase.py
@@ -411,18 +411,16 @@ class BuildOptionParser(object):
         'cross-debug-artifact': 'builds/releng_sub_%s_configs/%s_cross_debug_artifact.py',
         'cross-noopt-debug': 'builds/releng_sub_%s_configs/%s_cross_noopt_debug.py',
         'cross-fuzzing-asan': 'builds/releng_sub_%s_configs/%s_cross_fuzzing_asan.py',
         'cross-artifact': 'builds/releng_sub_%s_configs/%s_cross_artifact.py',
         'debug': 'builds/releng_sub_%s_configs/%s_debug.py',
         'fuzzing-debug': 'builds/releng_sub_%s_configs/%s_fuzzing_debug.py',
         'asan-and-debug': 'builds/releng_sub_%s_configs/%s_asan_and_debug.py',
         'asan-tc-and-debug': 'builds/releng_sub_%s_configs/%s_asan_tc_and_debug.py',
-        'lto-tc': 'builds/releng_sub_%s_configs/%s_lto_tc.py',
-        'lto-tc-and-debug': 'builds/releng_sub_%s_configs/%s_lto_tc_and_debug.py',
         'stat-and-debug': 'builds/releng_sub_%s_configs/%s_stat_and_debug.py',
         'code-coverage-debug': 'builds/releng_sub_%s_configs/%s_code_coverage_debug.py',
         'code-coverage-opt': 'builds/releng_sub_%s_configs/%s_code_coverage_opt.py',
         'source': 'builds/releng_sub_%s_configs/%s_source.py',
         'noopt-debug': 'builds/releng_sub_%s_configs/%s_noopt_debug.py',
         'api-16-gradle-dependencies': 'builds/releng_sub_%s_configs/%s_api_16_gradle_dependencies.py',
         'api-16': 'builds/releng_sub_%s_configs/%s_api_16.py',
         'api-16-artifact': 'builds/releng_sub_%s_configs/%s_api_16_artifact.py',