HomePhabricator

depends: progress on Apple ARM support

Description

depends: progress on Apple ARM support

Summary:
core#20482:

Add depends qt fix for ARM macs


core#22071: depends: latest config.guess and config.sub

depends: latest config.guess (2021-05-24)

depends: latest config.sub (2021-04-30)

Review note: the cherry-picking of these commits worked without any conflict, so the diff is exactly the same as in the source material.


core#22123:

depends: Fix qt.mk for mac arm64


core#23583: build, qt, macOS: Don't hard-code x86_64 as the arch when using qmake

build, qt, macOS: Don't hard-code x86_64 as the arch when using qmake

This change fixes qt build on M1 Apple Silicon

build, qt, macOS: Don't pass -device-option when building natively

Note: The third commit is not necessary because we didn't backport core#22402


This is a backport of core#20482, core#22071 and core#23583

Note that for now we don't claim to actually support Apple ARM, this is just to progress on other fronts (Qt bumping and hopefully guix) without skipping too many ARM related commits that would be harder to backport out of order.

Test Plan: run gitian builds to test that everything is still working regarding architecture detection

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13936

Details

Provenance
Jonas Schnelli <dev@jonasschnelli.ch>Authored on Nov 24 2020, 20:00
PiRKCommitted on May 26 2023, 06:40
PiRKPushed on May 26 2023, 06:40
Reviewer
Restricted Project
Differential Revision
D13936: depends: progress on Apple ARM support
Parents
rABCf083ffe042ce: [herald] Move non-config constants to separate file
Branches
Unknown
Tags
Unknown