Trying to compile for ARM v7 on M1 runners #10665
Unanswered
jfalcou
asked this question in
General questions
Replies: 1 comment
-
Hey @jfalcou! I am not so familiar with this kind of edge case. I am not sure that
set(CMAKE_SYSTEM_PROCESSOR armv7-a)
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_CXX_FLAGS "-mfpu=neon -march=armv7-a -mfloat-abi=hard -target arm-linux-gnueabihf") But two questions remain open - does M1 support cross-compilation for the old architecture and does LLVM contain libraries for such cross-compilation. In the second case, you will have to rebuild LLVM instead of the one installed from brew. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am the comaintainer of EVE, a C++ SIMD wrapper.
We wanted to migrate from our self hosted, cross compiling and qemu based ARM support to the new M1 runners.
It works perfectly for AARCH64 but I can't find a proper setup to compile for NEON only.
As EVE needs to be tested on all thing SIMD to ensure its quality, I was wondering if anyone had a way to do so.
Using the usual --target etc fails as it looks like the clang++ from homebrew just dont want to support it and looking at the log, looks like -arch arm64 is auto-added anyway.
Any hints appreciated.
Beta Was this translation helpful? Give feedback.
All reactions