Skip to content
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

Use HOST_ARCH for downloading golang compiler. #67

Merged
merged 1 commit into from Mar 24, 2021
Merged

Use HOST_ARCH for downloading golang compiler. #67

merged 1 commit into from Mar 24, 2021

Conversation

h8liu
Copy link

@h8liu h8liu commented Mar 24, 2021

GOARCH is target ARCH, and should be used for only compiling target binaries, not for downloading the golang compiler. The compiler needs to use HOST_ARCH instead.

@h8liu
Copy link
Author

h8liu commented Mar 24, 2021

btw, is the current way of building the rpi4 artifacts to be ARCH=arm64 make ?

@olljanat
Copy link
Member

I have build those on Raspberry so I'm not sure if that need something else but at least you need run commands:

make
make rpi64

Also note that kernel version on master only works with Rasberry 3. But version on this one works on Rpi4 too
https://github.com/burmilla/os/blob/feat/uefi-support/scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper

@olljanat olljanat merged commit 2ab4b23 into burmilla:master Mar 24, 2021
@h8liu
Copy link
Author

h8liu commented Mar 24, 2021

hmm.. okay. I thought it would support cross-compile. :)

@olljanat
Copy link
Member

I think that most of the parts are already supporting cross-compile but I haven't look (yet) that what are those missing parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants