зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 3 changesets (bug 1594344) for Decision task failure on taskcluster/ci/toolchain/rust-size.yml. CLOSED TREE
Backed out changeset 3208e2b16458 (bug 1594344) Backed out changeset 57b641bb4d4b (bug 1594344) Backed out changeset 36458762149d (bug 1594344) --HG-- rename : taskcluster/ci/toolchain/dump-syms.yml => taskcluster/ci/toolchain/rust-size.yml rename : taskcluster/scripts/misc/build-dump-syms.sh => taskcluster/scripts/misc/build-rust-size.sh
This commit is contained in:
Родитель
cb21b61e01
Коммит
682cfaa718
|
@ -28,25 +28,10 @@ def dump_symbols(target, tracking_file, count_ctors=False):
|
|||
# Build default args for symbolstore.py based on platform.
|
||||
sym_store_args = []
|
||||
|
||||
# Find the `dump_syms` binary to use.
|
||||
dump_syms_bin = None
|
||||
dump_syms_binaries = []
|
||||
|
||||
# Prefer the `dump_syms` toolchain.
|
||||
fetches_dir = os.environ.get('MOZ_FETCHES_DIR')
|
||||
if fetches_dir:
|
||||
dump_syms_binaries.append(
|
||||
os.path.join(fetches_dir, 'dump_syms', 'dump_syms'))
|
||||
|
||||
# Fallback to the in-tree breakpad version.
|
||||
dump_syms_binaries.append(os.path.join(buildconfig.topobjdir,
|
||||
'dist', 'host',
|
||||
'bin', 'dump_syms'))
|
||||
|
||||
for b in dump_syms_binaries:
|
||||
dump_syms_bin = '%s%s' % (b, buildconfig.substs['BIN_SUFFIX'])
|
||||
if os.path.exists(dump_syms_bin):
|
||||
break
|
||||
dump_syms_bin = os.path.join(buildconfig.topobjdir,
|
||||
'dist', 'host',
|
||||
'bin', 'dump_syms')
|
||||
dump_syms_bin = '%s%s' % (dump_syms_bin, buildconfig.substs['BIN_SUFFIX'])
|
||||
|
||||
os_arch = buildconfig.substs['OS_ARCH']
|
||||
if os_arch == 'WINNT':
|
||||
|
|
|
@ -7,9 +7,6 @@ job-defaults:
|
|||
using: mozharness
|
||||
use-caches: false
|
||||
tooltool-downloads: internal
|
||||
fetches:
|
||||
toolchain:
|
||||
- win64-dump-syms
|
||||
|
||||
win32/debug:
|
||||
description: "Win32 Debug"
|
||||
|
|
|
@ -449,10 +449,3 @@ lucetc-source:
|
|||
type: git
|
||||
repo: https://github.com/PLSysSec/lucet_sandbox_compiler/
|
||||
revision: 5c22392b5b1aaa60e915c75e92b57391e1e61e6d
|
||||
|
||||
dump-syms:
|
||||
description: dump_syms source code
|
||||
fetch:
|
||||
type: git
|
||||
repo: https://github.com/mozilla/dump_syms/
|
||||
revision: 881b2d9a1455c10d0f295d0a8d12acf2a1c576e9
|
||||
|
|
|
@ -150,7 +150,6 @@ jobs:
|
|||
fetches:
|
||||
toolchain:
|
||||
- win64-clang-cl
|
||||
- win64-dump-syms
|
||||
- win64-rust
|
||||
- win64-rust-size
|
||||
- win64-cbindgen
|
||||
|
@ -183,7 +182,6 @@ jobs:
|
|||
fetches:
|
||||
toolchain:
|
||||
- win64-clang-cl
|
||||
- win64-dump-syms
|
||||
- win64-rust
|
||||
- win64-rust-size
|
||||
- win64-cbindgen
|
||||
|
|
|
@ -28,7 +28,6 @@ jobs-from:
|
|||
- cctools-port.yml
|
||||
- clang-tidy.yml
|
||||
- clang.yml
|
||||
- dump-syms.yml
|
||||
- gcc.yml
|
||||
- geckodriver.yml
|
||||
- gn.yml
|
||||
|
|
|
@ -3,37 +3,37 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
---
|
||||
job-defaults:
|
||||
description: "dump_syms toolchain build"
|
||||
description: "rust-size toolchain build"
|
||||
worker:
|
||||
max-run-time: 1800
|
||||
run:
|
||||
script: build-dump-syms.sh
|
||||
script: build-rust-size.sh
|
||||
fetches:
|
||||
fetch:
|
||||
- dump-syms
|
||||
- rust-size
|
||||
|
||||
linux64-dump-syms:
|
||||
linux64-rust-size:
|
||||
treeherder:
|
||||
symbol: TL(dump_syms)
|
||||
symbol: TL(rust-size)
|
||||
worker-type: b-linux
|
||||
run:
|
||||
toolchain-artifact: public/build/dump_syms.tar.xz
|
||||
toolchain-artifact: public/build/rust-size.tar.xz
|
||||
fetches:
|
||||
toolchain:
|
||||
- linux64-rust
|
||||
- linux64-rust-1.39
|
||||
|
||||
win64-dump-syms:
|
||||
win64-rust-size:
|
||||
treeherder:
|
||||
symbol: TW64(dump_syms)
|
||||
symbol: TW64(rust-size)
|
||||
worker-type: b-win2012
|
||||
worker:
|
||||
env:
|
||||
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest"
|
||||
run:
|
||||
toolchain-artifact: public/build/dump_syms.tar.bz2
|
||||
toolchain-artifact: public/build/rust-size.tar.bz2
|
||||
resources:
|
||||
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
||||
tooltool-downloads: internal
|
||||
fetches:
|
||||
toolchain:
|
||||
- win64-rust
|
||||
- win64-rust-1.39
|
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
set -x -e -v
|
||||
|
||||
PROJECT=dump_syms
|
||||
PROJECT=rust-size
|
||||
|
||||
# This script is for building dump_syms
|
||||
# This script is for building rust-size
|
||||
case "$(uname -s)" in
|
||||
Linux)
|
||||
COMPRESS_EXT=xz
|
Загрузка…
Ссылка в новой задаче