Bug 1532952 - Add an optional linux64-aarch64 build on Taskcluster. r=froydnj

This sets things enough things up to be able to push to try with an
opt-in, but doesn't run the job on every push. This can be used as a
template for future work on a fuzzing job.

Differential Revision: https://phabricator.services.mozilla.com/D25069

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-03-29 00:10:29 +00:00
Родитель fccf274cc5
Коммит aa88106d99
5 изменённых файлов: 74 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,23 @@
# This file is sourced by the nightly, beta, and release mozconfigs.
. $topsrcdir/build/mozconfig.stylo
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-google-location-service-api-keyfile=/builds/gls-gapi.data
ac_add_options --with-google-safebrowsing-api-keyfile=/builds/sb-gapi.data
ac_add_options --with-mozilla-api-keyfile=/builds/mozilla-desktop-geoloc-api.key
. $topsrcdir/build/unix/mozconfig.linux
unset NASM
ac_add_options --target=aarch64
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1
# Package js shell.
export MOZ_PACKAGE_JSSHELL=1
unset MOZ_STDCXX_COMPAT

Просмотреть файл

@ -0,0 +1,7 @@
. "$topsrcdir/browser/config/mozconfigs/linux64-aarch64/common-opt"
ac_add_options --enable-verify-mar
ac_add_options --with-branding=browser/branding/nightly
. "$topsrcdir/build/mozconfig.common.override"

Просмотреть файл

@ -1099,3 +1099,40 @@ linux64-add-on-devel/opt:
- linux64-sccache
- linux64-nasm
- linux64-node
linux64-aarch64/opt:
description: "Linux64 aarch64 Opt"
index:
product: firefox
job-name: linux64-aarch64-opt
attributes:
enable-full-crashsymbols: true
treeherder:
platform: linux64-aarch64/opt
symbol: B
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
docker-image: {in-tree: debian9-arm64-build}
max-run-time: 7200
run:
using: mozharness
actions: [get-secrets, build]
config:
- builds/releng_base_firefox.py
- builds/releng_base_linux_64_builds.py
extra-config:
mozconfig_platform: linux64-aarch64
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
tooltool-downloads: public
need-xvfb: true
run-on-projects: []
toolchains:
- linux64-binutils
- linux64-clang
- linux64-rust
- linux64-rust-size
- linux64-cbindgen
- linux64-sccache
- linux64-node

Просмотреть файл

@ -155,6 +155,12 @@ jobs:
definition: debian-build
args:
ARCH: amd64
debian9-arm64-build:
symbol: I(deb9-arm64)
parent: debian9-base
definition: debian-build
args:
ARCH: arm64
android-build:
symbol: I(agb)
parent: debian9-base

Просмотреть файл

@ -44,6 +44,7 @@ linux64-rust-1.32:
'--host', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-unknown-linux-gnu',
'--target', 'i686-unknown-linux-gnu',
'--target', 'aarch64-unknown-linux-gnu',
]
toolchain-alias: linux64-rust