Skip to content
New issue

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

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

Already on GitHub? # to your account

MVE for macbook pro M1 #533

Closed
MatrixA opened this issue Jan 25, 2021 · 3 comments
Closed

MVE for macbook pro M1 #533

MatrixA opened this issue Jan 25, 2021 · 3 comments

Comments

@MatrixA
Copy link

MatrixA commented Jan 25, 2021

Hi Simon,I try to compile this project in my macbook pro(M1), but got some errors bellow. How can I solve this problem?
image

@simonfuhrmann
Copy link
Owner

Interesting. The M1 should be little endian, but the macros are not recognized on an M1.

@simonfuhrmann
Copy link
Owner

simonfuhrmann commented Jan 25, 2021

Can you try adding ARM to /libs/util/system.h in line 149:

#   elif defined(__i386__) || defined(__x86_64__) || defined(__aarch64__)

Another option is to remove the whole #elif and replace it with an #else, as I don't think future Apples will be big endian again. @flanggut, any thoughts here?

@MatrixA
Copy link
Author

MatrixA commented Jan 27, 2021

I did as you say and solve this problem successfully, thank you simon!

@MatrixA MatrixA closed this as completed Jan 27, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants