Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Build a universal binary to support M1 (Apple silicon) #781

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

vweevers
Copy link
Member

@vweevers vweevers commented Aug 29, 2021

@vweevers vweevers added the semver-patch Bug fixes that are backward compatible label Aug 29, 2021
@vweevers vweevers mentioned this pull request Aug 29, 2021
binding.gyp Outdated Show resolved Hide resolved
@vweevers vweevers marked this pull request as ready for review September 24, 2021 14:37
@vweevers vweevers changed the title Build universal binary for M1 (Apple silicon) Build a universal binary to support M1 (Apple silicon) Sep 24, 2021
Nazgolze added a commit to Nazgolze/rocksdb that referenced this pull request Sep 24, 2021
@vweevers vweevers merged commit 26ea717 into master Sep 28, 2021
@vweevers vweevers deleted the apple-silicon branch September 28, 2021 16:26
an9949an pushed a commit to an9949an/leveldown that referenced this pull request Aug 15, 2023
On mac, the prebuilt binary (as well as the binary built by
`npm i --build-from-source`) is now a universal binary that's
suitable for both x86_64 (as before) and arm64 (new).

Also sets MACOSX_DEPLOYMENT_TARGET, to 10.7 which is the same target
that Node.js 10 uses and thus what we already supported, but now
explicitly.

Ref Level#766

(cherry picked from commit 26ea717)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mac arm64 prebuild
2 participants