зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1677755 - turn the mac devedition build into a universal binary with x86-64 + aarch64. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97347
This commit is contained in:
Родитель
86442ca53f
Коммит
025ffb9f0a
|
@ -0,0 +1,19 @@
|
|||
. "$topsrcdir/browser/config/mozconfigs/macosx64-aarch64/common-opt"
|
||||
|
||||
# Add-on signing is not required for DevEdition
|
||||
MOZ_REQUIRE_SIGNING=0
|
||||
|
||||
ac_add_options --enable-instruments
|
||||
|
||||
# Cross-compiled builds fail when dtrace is enabled
|
||||
if test `uname -s` != Linux; then
|
||||
ac_add_options --enable-dtrace
|
||||
fi
|
||||
|
||||
if test "${MOZ_UPDATE_CHANNEL}" = "nightly"; then
|
||||
ac_add_options --with-macbundlename-prefix=Firefox
|
||||
fi
|
||||
|
||||
ac_add_options --with-branding=browser/branding/aurora
|
||||
|
||||
. "$topsrcdir/build/mozconfig.common.override"
|
|
@ -142,21 +142,21 @@ macosx64-fuzzing/debug:
|
|||
optimization:
|
||||
skip-unless-expanded: null
|
||||
|
||||
macosx64-devedition/opt:
|
||||
macosx64-x64-devedition/opt:
|
||||
description: "MacOS X Dev Edition x64 (shippable)"
|
||||
use-pgo: macosx64-shippable/opt
|
||||
attributes:
|
||||
shippable: true
|
||||
enable-full-crashsymbols: true
|
||||
skip-verify-test-packaging: true
|
||||
shipping-phase: build
|
||||
shipping-product: devedition
|
||||
index:
|
||||
product: devedition
|
||||
job-name: macosx64-opt
|
||||
job-name: macosx64-x64-opt
|
||||
type: shippable
|
||||
treeherder:
|
||||
platform: osx-cross-devedition/opt
|
||||
symbol: B
|
||||
symbol: Bx
|
||||
tier: 1
|
||||
worker:
|
||||
max-run-time: 7200
|
||||
|
@ -177,6 +177,193 @@ macosx64-devedition/opt:
|
|||
- linux64-clang-macosx-cross
|
||||
- wasi-sysroot
|
||||
|
||||
macosx64-aarch64-devedition/opt:
|
||||
description: "MacOS X Dev Edition Aarch64 (shippable)"
|
||||
use-pgo: macosx64-shippable/opt
|
||||
attributes:
|
||||
enable-full-crashsymbols: true
|
||||
skip-verify-test-packaging: true
|
||||
shipping-phase: build
|
||||
shipping-product: devedition
|
||||
index:
|
||||
product: devedition
|
||||
job-name: macosx64-aarch64-opt
|
||||
type: shippable
|
||||
treeherder:
|
||||
platform: osx-aarch64-devedition/opt
|
||||
symbol: B
|
||||
tier: 1
|
||||
worker:
|
||||
max-run-time: 7200
|
||||
env:
|
||||
TOOLTOOL_MANIFEST: ""
|
||||
MOZ_AUTOMATION_PACKAGE_TESTS: "1"
|
||||
PERFHERDER_EXTRA_OPTIONS: aarch64
|
||||
run:
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
- builds/releng_base_mac_64_cross_builds.py
|
||||
- taskcluster_nightly.py
|
||||
extra-config:
|
||||
stage_platform: macosx64-aarch64-devedition
|
||||
mozconfig_platform: macosx64-aarch64
|
||||
mozconfig-variant: devedition
|
||||
run-on-projects: ['mozilla-beta']
|
||||
dependencies:
|
||||
linux64-rust-macos-beta: toolchain-linux64-rust-macos-beta
|
||||
fetches:
|
||||
toolchain:
|
||||
- linux64-cctools-port
|
||||
- linux64-clang-macosx-aarch64-cross
|
||||
- macosx64-sdk-11.0
|
||||
# Because job-defaults contain linux64-rust-macos, which we can't
|
||||
# remove, and that would extract to the same directory, with no
|
||||
# guaranteed order,we need to manually extract to a different
|
||||
# directory, and make the build use that instead, until we can use
|
||||
# a stable rust.
|
||||
linux64-rust-macos-beta:
|
||||
- artifact: rustc.tar.zst
|
||||
dest: rustc-beta
|
||||
|
||||
macosx64-devedition/opt:
|
||||
description: "MacOS X Dev Edition Universal"
|
||||
attributes:
|
||||
shippable: true
|
||||
enable-build-signing: true
|
||||
skip-upload-crashsymbols: true
|
||||
skip-verify-test-packaging: true
|
||||
shipping-phase: build
|
||||
shipping-product: devedition
|
||||
index:
|
||||
product: devedition
|
||||
job-name: macosx64-opt
|
||||
type: shippable
|
||||
treeherder:
|
||||
platform: osx-cross-devedition/opt
|
||||
symbol: B
|
||||
tier: 1
|
||||
run-on-projects: ['mozilla-beta']
|
||||
worker:
|
||||
max-run-time: 1800
|
||||
run:
|
||||
job-script: taskcluster/scripts/misc/unify.sh
|
||||
config:
|
||||
- builds/releng_base_firefox.py
|
||||
dependencies:
|
||||
macosx64-x64-devedition-opt: build-macosx64-x64-devedition/opt
|
||||
macosx64-aarch64-devedition-opt: build-macosx64-aarch64-devedition/opt
|
||||
fetches:
|
||||
macosx64-x64-devedition-opt:
|
||||
- artifact: target.dmg
|
||||
extract: false
|
||||
dest: x64
|
||||
- artifact: buildhub.json
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: host/bin/mar
|
||||
extract: false
|
||||
dest: ../artifacts/host/bin
|
||||
- artifact: host/bin/mbsdiff
|
||||
extract: false
|
||||
dest: ../artifacts/host/bin
|
||||
- artifact: target.txt
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: target_info.txt
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: target.json
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: target.mozinfo.json
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: target.test_packages.json
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: target.perftests.tests.tar.gz
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: target.common.tests.tar.gz
|
||||
dest: x64/common
|
||||
- artifact: target.cppunittest.tests.tar.gz
|
||||
dest: x64/cppunittest
|
||||
- artifact: target.gtest.tests.tar.gz
|
||||
dest: x64/gtest
|
||||
- artifact: target.jittest.tests.tar.gz
|
||||
dest: x64/jittest
|
||||
- artifact: target.jsreftest.tests.tar.gz
|
||||
dest: x64/jsreftest
|
||||
- artifact: target.mochitest.tests.tar.gz
|
||||
dest: x64/mochitest
|
||||
- artifact: target.reftest.tests.tar.gz
|
||||
dest: x64/reftest
|
||||
- artifact: target.talos.tests.tar.gz
|
||||
dest: x64/talos
|
||||
- artifact: target.raptor.tests.tar.gz
|
||||
dest: x64/raptor
|
||||
- artifact: target.condprof.tests.tar.gz
|
||||
dest: x64/confprof
|
||||
- artifact: target.awsy.tests.tar.gz
|
||||
dest: x64/awsy
|
||||
- artifact: target.xpcshell.tests.tar.gz
|
||||
dest: x64/xpcshell
|
||||
- artifact: target.web-platform.tests.tar.gz
|
||||
dest: x64/web-platform
|
||||
- artifact: target.updater-dep.tests.tar.gz
|
||||
dest: x64/updater-dep
|
||||
- artifact: target.crashreporter-symbols.zip
|
||||
dest: x64/crashreporter-symbols
|
||||
- artifact: target.jsshell.zip
|
||||
dest: x64/jsshell
|
||||
- artifact: target.generated-files.tar.gz
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: target.langpack.xpi
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
- artifact: mozharness.zip
|
||||
extract: false
|
||||
dest: ../artifacts
|
||||
macosx64-aarch64-devedition-opt:
|
||||
- artifact: target.dmg
|
||||
extract: false
|
||||
dest: aarch64
|
||||
- artifact: target.common.tests.tar.gz
|
||||
dest: aarch64/common
|
||||
- artifact: target.cppunittest.tests.tar.gz
|
||||
dest: aarch64/cppunittest
|
||||
- artifact: target.gtest.tests.tar.gz
|
||||
dest: aarch64/gtest
|
||||
- artifact: target.jittest.tests.tar.gz
|
||||
dest: aarch64/jittest
|
||||
- artifact: target.jsreftest.tests.tar.gz
|
||||
dest: aarch64/jsreftest
|
||||
- artifact: target.mochitest.tests.tar.gz
|
||||
dest: aarch64/mochitest
|
||||
- artifact: target.reftest.tests.tar.gz
|
||||
dest: aarch64/reftest
|
||||
- artifact: target.talos.tests.tar.gz
|
||||
dest: aarch64/talos
|
||||
- artifact: target.raptor.tests.tar.gz
|
||||
dest: aarch64/raptor
|
||||
- artifact: target.condprof.tests.tar.gz
|
||||
dest: aarch64/confprof
|
||||
- artifact: target.awsy.tests.tar.gz
|
||||
dest: aarch64/awsy
|
||||
- artifact: target.xpcshell.tests.tar.gz
|
||||
dest: aarch64/xpcshell
|
||||
- artifact: target.web-platform.tests.tar.gz
|
||||
dest: aarch64/web-platform
|
||||
- artifact: target.updater-dep.tests.tar.gz
|
||||
dest: aarch64/updater-dep
|
||||
- artifact: target.crashreporter-symbols.zip
|
||||
dest: aarch64/crashreporter-symbols
|
||||
- artifact: target.jsshell.zip
|
||||
dest: aarch64/jsshell
|
||||
toolchain:
|
||||
- linux64-cctools-port
|
||||
|
||||
macosx64-noopt/debug:
|
||||
description: "MacOS X x64 No-optimize Debug"
|
||||
index:
|
||||
|
|
Загрузка…
Ссылка в новой задаче