-
Notifications
You must be signed in to change notification settings - Fork 1.1k
make fails on raspberry pi #1411
Comments
@squaremo ehm you removed bug label, its not a bug, its a feature? just being curious |
Sorry, I had a comment queued up which I neglected to submit. |
makes sense! |
A good way forward for this enhancement would be to start turning it into a PR, which modifies the build so that it works on arm32, but leaves the build of other architectures untouched. |
Wish I knew how. I have no clue how to make platform specific code in go. Makefile is the thing that is not too simple (after some investigation) found some docs, will try to make the code working |
There's two ways of doing this within the Go toolchain, both explained at https://dave.cheney.net/2013/10/12/how-to-use-conditional-compilation-with-the-go-build-tool I think build tags are probably what we need here, since it looks like we want to define some things in different ways for There's also the question of where images for different architectures fits in the build process -- will have to think about that one .. |
that is exactly the same page I found :-) |
HW: raspberry pi 3b
OS: hypriot
buildenv:
build script (just docker exec'ed into the container)
2 cups (very large cups) of coffee later:
same for master
This seems to work (not sure about effects):
The text was updated successfully, but these errors were encountered: