Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Apple M1 support to lodestar #2563

Merged
merged 1 commit into from
May 27, 2021
Merged

Add Apple M1 support to lodestar #2563

merged 1 commit into from
May 27, 2021

Conversation

mpetrunic
Copy link
Member

Motivation

Description
The core issue is hardware accelarated sse4_crc32 dependency that is suppose to fallback to
javascript implementation but it doesn't since nodejs crashes while loading bindings on M1 chip.
I noticed this issue ashi009/node-fast-crc32c#21 (comment) which actually claims that this lib written in rust even has better performances (library author has no intention on merging this change). I've forked that repo and replaced lib and released under chainsafe org.
I've also updated that dependency in our fork of node-snappy-stream. Hopefully, at some point, somebody (khm google) will force those authors to maintain those "official" libraries.

Tests in all repos are passing and I'm successfully syncing mainnet.

Closes #2475

Steps to test or reproduce

@codeclimate
Copy link

codeclimate bot commented May 26, 2021

Code Climate has analyzed commit e06cd73 and detected 0 issues on this pull request.

View more on Code Climate.

@wemeetagain wemeetagain merged commit f677874 into master May 27, 2021
@wemeetagain wemeetagain deleted the mpetrunic/m1-support branch May 27, 2021 00:04
@dapplion
Copy link
Contributor

Awesome! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apple Silicon M1 support?
3 participants