-
Notifications
You must be signed in to change notification settings - Fork 2
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
Apple M1 Chip Compatibility #3
Comments
Hey @hcatlin, thanks for reporting. I tried adding support on master, but don't have an M1 to test. Can you follow the instructions here and try running the tests with and without Rosetta 2? (want to make sure it works with both) |
Sorry for the noise. Moved it to a branch for now. The git clone https://github.com/ankane/argon2-kdf.git
cd argon2-kdf
bundle install
git checkout mac-arm64
bundle exec rake vendor:mac
bundle exec rake test
git checkout mac-universal
bundle exec rake vendor:mac
bundle exec rake test |
Both were fabulous runs!
|
Oh, and I ran the universal build in Rosetta 2.
|
Great, thanks @hcatlin! Can you try running the ruby -e "puts RbConfig::CONFIG['arch']" (trying to understand how it affects Ruby, if at all) |
And then, on the arch tests for Ruby... my ruby is compiled for arm64, so here is showing the rosetta and non-rosetta runs, plus your requested outputs
|
Great, thanks again @hcatlin. Just pushed a new release. Decided to go with separate shared libraries for now (instead of universal), as keeping them separate makes building simpler (and there doesn't seem to be much benefit to combining them). |
Are there any install options needed when installing the gem to ensure the arm64 version of
My
So it seems I'm missing something about how to install To answer a Q from a prior message in this thread, my |
Hey @wbharding, try 0.1.7 (#6). |
Well that fixed it proper quick. Thanks for the legendary response time! Next time I'll Google the version history first 😄 |
Hi @ankane ! Thank you for your awesome work on this project (blind_index is amazing!)
Currently, this repo only bundles the Mac x86 version of the dylib for argon instead of including an arm64 build. This means when run on a new Mac computer, the following happens:
The text was updated successfully, but these errors were encountered: