-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Binaries for linux-arm #2068
Comments
Great! Can you give it try by adding linux-arm to the Makefile SUPPORTED_PLATFORMS? and see it works? |
So, it does not work. However the following works for
EDIT: whoops, it's building |
Thanks for trying, Can you add an explicit rule for
With the flags you mentioned? |
if that works, we can try introducing 2 archs for linux by creating a map of platforms to archs |
Success:
EDIT: Compiling
EDIT: Actually the output from |
I'm interested in this too. Did this make it into a PR? |
Where are we with this? |
I don't think this ever materialized into anything. @ljani are you interested in submitting a PR? we probably don't have time on our end right now but we'd be happy to accept a contribution. |
Sorry, no. I abandoned my endeavour and moved back to |
How hard would it be? Set GOARCH and type make? |
Gave it a shot:
|
@pisymbol licenses also gives me issues for several different reasons, and it's hard for me to see if this is related to any changes you've made. why don't you try skipping the license check for now (just remove the rule from the Makefile) and see if you can get some binaries built? if you can get that far then we can figure out the license stuff last. |
@nkubala Works. No changes really other than setting GOARCH=arm:
Note, I had to download and install latest golang than use 1.11 which had issues with io.StringWriter and other things. |
Note License retrieval now works too. So I think the only patch really needed (minimally):
And then on the command line:
I guess we can autodiscovery the platform to be fancy. This is the 1.2.0 release branch btw. |
@pisymbol nice. want to submit a PR that updates the makefile here? you can put |
@nkubala Sure. I can do that. |
@nkubala The |
Make GOARCH configurable in order to build skaffold on other platforms such as arm and arm64.
Expected behavior
Find a
skaffold-linux-arm
binary from the releases page.Actual behavior
There is no
skaffold-linux-arm
binary.Information
Thanks.
EDIT: cross compiling
skaffold
withGOOS=linux GOARCH=arm GOARM=5
seems to work very well.The text was updated successfully, but these errors were encountered: