-
-
Notifications
You must be signed in to change notification settings - Fork 603
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 native build workaround #542
Comments
here's the link to the pull request that I mentioned above: google/cpu_features#150 |
Thanks for this info. I've tried compiling Volk by changing the .gitmodules url for cpu_features to https://github.com/sbehnke/cpu_features.git and resyncing, but when I try to compile Volk I get this error message: [ 11%] Building C object cpu_features/CMakeFiles/cpu_features.dir/src/cpuinfo_arm.c.o Any ideas? |
since this just a tip for people facing this problem and is not a SDR++ bug, I'll close the issue. People interested in an actual fix will have to follow the cpu_features project instead. |
Hi,
I was originally failing to build SDR++ for the M1 using brew (the main problem comes down to Volk, which relies on cpu_features where there is a bug that prevents it from compiling on M1.
However, there is an open pull request for a fix from user sbehnke and their forked repo of cpu_features
After a bit of trial and error, I was able to natively compile SDR++ using the instructions in the readme with a few more steps:
Until Google's cpu_features pulls in the fix, the above is a workaround.
I'm not sure how to contribute this fix, since the problem is with a dependency. However, I wanted the info to be out there for others.
The text was updated successfully, but these errors were encountered: