-
Notifications
You must be signed in to change notification settings - Fork 24
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
build for arm is failing when using docker buildx #1
Comments
please provide steps how to invoke buildx to build arm (is it really arm64 ?) images |
You can invoke buildx this way creating amd64, arm64 and armv7(rpi1-3) images
|
I tried on
|
nevermind, I've figured out how to invoke it |
if I invoke like that
|
I picked build command from README ...
|
Reverted the implementation of different Target config flags in 88972ae as this was just a try for a workaround. |
I implemented a GitHub CI to try on a completely different platform but it seems that the buildx (qemu) ARM emulation has some drawbacks here. Still not sure on how to work around it |
Although this issue is closed, I found that it might be caused by the cmake_host_system_information() function returning the "real" CPU information, even when running inside a QEMU environment. This can be found in the SoftEtherVPN source at src/Cedar/CMakeLists.txt (link below). It may be fixed by using a different method, such as check_cxx_compiler_flag(). |
we love pull requests. |
When using docker buildx to build multiarch images the arm builds are failing to build blake2.
If building natively on arm (RaspberryPi) there is no issue so somethings funky with the way how buildx does ARM abstraction.
The text was updated successfully, but these errors were encountered: