-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.macosIssues and PRs related to the macOS platform / OSX.Issues and PRs related to the macOS platform / OSX.
Description
This issue to provide visibility about our plans and progress to supporting Apple Silicon natively.
Refs: nodejs/TSC#886
Refs: nodejs/build#2474
Current plan is to have native support for 16.x via a universal binary supporting both Arm and Intel architecture.
NOTE: Support is very unlikely to be back ported to 14.x or before due to requiring a SemVer Major V8 update
How to run Node.js on Apple Silicon currently
You can either build from source on 15.x - This is not officially supported so don’t expect a smooth experience
You can also run x64 Node.js binaries via the translation layer.
Current Known Bugs
-
-Check failed: allocator->SetPermissions
macOS 11.2: Fatal error- deps: V8: workaround for darwin arm64 code page decommit failures #37276 has landed.Check failed: allocator->SetPermissions
#37061 -
-make check failure
make check failure for macOS arch64 #36656- deps: cherry-pick 8957d4677aa794c230577f234071af0 from V8 upstream #37471 has landed.
To Do List
- Add 11.0 to versionselector to ensure we build only on master
- Enable the macos-arm job in normal test regressions
- Get the DTKs back into CI for testing
- Test compiling and running node natively on the mac arm hardware
- Test if a current release runs on the new hardware through the translation layer
- Figure out a source of hardware to add to our CI for when our DTKs go back to apple
- Note down size difference in binaries between: intel, arm and fat.
- Change makefile to build universal binaries
- Edit release job to build the new binary
This issue is locked as we will use it to provide updates on progress. If you need help please open an issue on https://github.com/nodejs/help/issues
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.macosIssues and PRs related to the macOS platform / OSX.Issues and PRs related to the macOS platform / OSX.