-
Notifications
You must be signed in to change notification settings - Fork 5
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
clang: error: unknown argument: '-mnative' #8
Comments
nice flex, bradbry 👍 |
I don't think anything in our build scripts passes Have you ported a build folder over from your old machine and not rerun
? |
I cloned it fresh from master. I am at dfb6918 for reference. Those commands in that order worked after Doing a rough benchmark with Over 1000 iterations the average time for the m1 was 750ms, while my 2015 intel was averaging around 1000ms. Promising! |
These build steps no longer on RC1b. I get this error compiling with: cmake -DFLUID_ARCH=-mcpu=native ..
make install
I can however get a build going by doing:
but you lose the speed of not running in Rosetta. Just thought i'd keep these steps updated here. |
I think that means you never had a native ARM build happening in the first place. In any case, it's trying to use Intel SIMD intrinsics. Those objects aren't going to work for ARM yet, because they include a header that doesn't have conditional includes yet (I put in a PR to HissTools yesterday for this, as it happens). |
That sounds very reasonable 🐒 Thanks for having a gander 🇦🇺 |
When using the recommended flags for compiling to the instruction set on my machine I get this error at the
make
stage:clang: error: unknown argument: '-mnative'
I am running this on a new arm Mac though, so obviously this is a YMMV situation I realise. Just curious if this is something to be fixed in the cmake?
The text was updated successfully, but these errors were encountered: