-
Notifications
You must be signed in to change notification settings - Fork 62
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
Build fails on native Apple M1 + macOS toolchain #205
Comments
Thanks for testing. We can probably ditch the For the second error, it's the cpu cycles counting routines that are x64-only. Do you know how to do this on ARM? (I don't.) it could be helpful to then start having multiple implementations of those via #ifdefs. |
Clang supports For Apple systems, I'd recommend using For other systems, https://github.com/google/benchmark/blob/master/src/cycleclock.h is a pretty comprehensive source of what's available. |
It looks like I fixed this here: 7db5eb6 TestLib is deprecated and no one uses this so I'm actually contemplating just ditching it. @landonf: your comments are helpful and would be best integrated into https://github.com/project-everest/hacl-star/blob/master/tests/test_helpers.h#L84 |
I've been attempting to build Kremlin on an M1.
fangyi-zhou-ppxlib
wasm-1.1
on top of whichmaster
(4ccb2de) has been mergedI can confirm that this works on
x86_64
but when runninggmake
on M1, I get the following errors:After removing
-march=native
from./kremlib/Makefile
the build fails with:The text was updated successfully, but these errors were encountered: