You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.
The Apple Silicon's architecture is incorrectly detected in the build_mac.sh script. The script detects and builds for the architecture as x64 instead of arm64.
Expected Behavior
Correctly detect the Apple Silicon architecture as arm64.
Current Behavior
The current build script uses the os.arch()method for architecture detection. However, this method isn't reliable in recognizing the Apple Silicon architecture.
It should generate prebuilds for arm64 on an Apple Silicon machine, but instead, it generates prebuilds for x64.
Steps to Reproduce (for bugs)
npm run build:mac
Your Environment
Apple Silicon (M1 mac)
Platform-host-triplet: arm64-apple-darwin21.2.0
macOS 12.1
The text was updated successfully, but these errors were encountered:
The Apple Silicon's architecture is incorrectly detected in the
build_mac.sh
script. The script detects and builds for the architecture asx64
instead ofarm64
.Expected Behavior
Correctly detect the Apple Silicon architecture as
arm64
.Current Behavior
The current build script uses the
os.arch()
method for architecture detection. However, this method isn't reliable in recognizing the Apple Silicon architecture.It should generate prebuilds for
arm64
on an Apple Silicon machine, but instead, it generates prebuilds forx64
.Steps to Reproduce (for bugs)
npm run build:mac
Your Environment
The text was updated successfully, but these errors were encountered: