Closed
Bug 1712245
Opened 3 years ago
Closed 3 years ago
Use x86_64 NDK on Apple Silicon when not using --with-android-toolain and --with-android-lldb-server
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox90 fixed)
RESOLVED
FIXED
90 Branch
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
Details
Attachments
(1 file)
Actually, when looking for NDK's toolchain path, we always use host_kernel's cpu architecture.
https://searchfox.org/mozilla-central/source/build/moz.configure/android-ndk.configure#239-248
toolchain = toolchain_format % (ndk, target_base, host_kernel, host.cpu)
But when using MacBook M1, host.cpu
is aarch64 and Google doesn't release NDK for macOS/aarch64 native now. Although NDK path can set directly using --with-android-toolchain
, I would like to detect it automatically.
Assignee | ||
Updated•3 years ago
|
Summary: Use x86_64 NDK on Apple Silicon when not using --with-android-ndk → Use x86_64 NDK on Apple Silicon when not using --with-android-toolain and --with-android-lldb-server
Assignee | ||
Comment 1•3 years ago
|
||
Actually, Google doesn't release native version of NDK for macOS/aarch64.
So if missing, we use x86_64 NDK instead.
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/6f5d77353344
Use x86_64 NDK on Apple Slicon if native NDK is missing. r=firefox-build-system-reviewers,glandium
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•