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

Fails on arm64: error: the clang compiler does not support '-march=nehalem' #118

Open
yurivict opened this issue Apr 19, 2022 · 3 comments

Comments

@yurivict
Copy link
Contributor

c++: error: the clang compiler does not support '-march=nehalem'

clang-13
FreeBSD 13

@wjakob
Copy link
Member

wjakob commented Oct 24, 2022

FreeBSD is not a supported platform, sorry.

@wjakob wjakob closed this as completed Oct 24, 2022
@wjakob
Copy link
Member

wjakob commented Oct 24, 2022

Hmm, sorry -- I misremembered! Is this still a current issue?

@wjakob wjakob reopened this Oct 24, 2022
@broose-goose
Copy link

Just got that error; depends what chip you have.

I'm running this on a quartz64a. It has a RK3566 processor. I googled the processor and it has arm A55 cores on it. Googling arm A55, I found the cores have an ARMv8.2-A architecture . As a result, I added this bit to the cmake command.

cmake -DNANOGUI_NATIVE_FLAGS="-march=armv8.2-a" ..

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

3 participants