-
-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
Version
2.1
Short overview
Release fat binaries for macOS to work on Apple Silicon
Steps to reproduce error
M1 Macs fail at running the built version.
Fix
Build using both archs:
cmake-js rebuild --CDNODE_ARCH="arm64;x86_64" --CDCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
And it'll result in both binaries being included:
lipo -info build/Release/libnut.node
# Architectures in the fat file: build/Release/libnut.node are: x86_64 arm64
s1hofmann
Metadata
Metadata
Assignees
Labels
No labels