We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CMake does not seem to recognize aarch64 mac m1s during a build.
The text was updated successfully, but these errors were encountered:
Think I may be seeing the same thing. Are you also getting an error that rsp.h cannot be found when running make?
Sorry, something went wrong.
Same here on an M2 Pro:
[ 2%] Building C object CMakeFiles/cen64.dir/ai/controller.c.o /Users/callen/cen64/ai/controller.c:17:10: fatal error: 'rsp/rsp.h' file not found #include "rsp/rsp.h" ^~~~~~~~~~~ 1 error generated. make[2]: *** [CMakeFiles/cen64.dir/ai/controller.c.o] Error 1 make[1]: *** [CMakeFiles/cen64.dir/all] Error 2 make: *** [all] Error 2
rsp.h is on disk here:
rsp.h
$ find .. -name rsp.h ../arch/arm/rsp/rsp.h ../arch/x86_64/rsp/rsp.h
Notably, the CMake generated Makefile has lots of references to x86_64 and none for arm or aarch64. My cmake is ARM native, though:
x86_64
arm
aarch64
cmake
$ which cmake /opt/homebrew/bin/cmake $ file /opt/homebrew/bin/cmake /opt/homebrew/bin/cmake: Mach-O 64-bit executable arm64
So maybe there's a missing architecture flag or detection somewhere?
No branches or pull requests
CMake does not seem to recognize aarch64 mac m1s during a build.
The text was updated successfully, but these errors were encountered: