Skip to content
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

march=native not supported for all architectures. #6

Closed
francescotaurone opened this issue Nov 16, 2022 · 1 comment
Closed

march=native not supported for all architectures. #6

francescotaurone opened this issue Nov 16, 2022 · 1 comment

Comments

@francescotaurone
Copy link

In install_macos.sh, the flag -march for the clang compiler doesn't work on all architectures.

In order to make it work on my m1, I had to substitute it with -mcpu=apple-m1, resulting in the command

g++ nlms_helper.cpp -std=c++11 -o nlms_helper.out -Wall -O3 -mcpu=apple-m1

@shubhamchandak94
Copy link
Owner

thanks for the note, I have added this to the README now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants