Closed Bug 1678775 Opened 3 years ago Closed 3 years ago

Thunderbird macOS-aarch64 support

Categories

(Thunderbird :: Build Config, task)

Tracking

(thunderbird_esr78 wontfix, thunderbird86 wontfix)

RESOLVED FIXED
87 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird86 --- wontfix

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(5 files, 1 obsolete file)

Cross-compile support landed in mozilla-central in bug 1678154.

Depends on: 1681066

This keeps macOS configs in line with Firefox.

Assignee: nobody → rob
Status: NEW → ASSIGNED

Downloads the macOS 11 SDK from the (private) taskcluster artifact that's
built for Firefox. It's then stored as a private toolchain artifact under
the project/comm namespace so that Thunderbird build jobs can access it with
the scopes they already have.

Depends on D99188

There is no l10n configuration for these as the distributed build will be
a unified DMG containing both x86_64 and aarch64 binaries and a single copy
of non-binary resources.

Depends on D99189

It builds, but it's untested as I don't have hardware.
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=bba6e2c3008eb58b0aebf5f718e3cf8a2c616713

At the moment, libotr.dylib is grabbing the x86_64 binary so OTR functionality will obviously not work. librnp did build as it's more integrated into the build system.

There needs to be a followup to rename the existing macosx64-shippable build to macosx64-x64-shippable and then a new build job named macosx64-shippable is needed to combine the two builds into a single Universal binary.

Tried it on a Macbook Air with M1 processor. When I try to start it says at startup that I have no access rights. Starting through terminal it says: permission denied.
It's not a signing problem as I can set it to start anyway like for other treeherder builds.

I got the try builds to run via fake signing:
sudo codesign --deep --force --sign - Thunderbird\ Daily.app

The - is for ad hoc signature suitable for this type of testing. Real builds will obviously be properly signed and such.

Attachment #9192123 - Attachment description: Bug 1678775 - Add mozconfig files for macos-aarch64 builds. r=justdave → Bug 1678775 - Add mozconfig files for macosx64-aarch64 builds. r=justdave
Attachment #9192124 - Attachment description: Bug 1678775 - macOS-aarch64-shippable build job. r=justdave → Bug 1678775 - macosx64-aarch64-shippable build job. r=justdave
Attachment #9192122 - Attachment is obsolete: true

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/e3db271af053
Update macosx mozconfigs with a common-opt include file. r=justdave
https://hg.mozilla.org/comm-central/rev/67135370270c
build-libotr.sh support for macosx64-aarch64. r=justdave
https://hg.mozilla.org/comm-central/rev/6704af79222d
Add mozconfig files for macosx64-aarch64 builds. r=justdave
https://hg.mozilla.org/comm-central/rev/4f4edb5cbff0
macosx64-aarch64-shippable build job. r=justdave
https://hg.mozilla.org/comm-central/rev/f3d6b7ba3951
Convert macOS shippable build to Universal binary. r=justdave

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Blocks: 1690056
Blocks: 1690118
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Backout by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/15033ffab222
Backed out changeset f3d6b7ba3951 for breaking macOS builds.

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/a10316300ce2
Convert macOS shippable build to Universal binary. r=justdave

Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: