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

[WIP] arm64/aarch64 build #20039

Closed
wants to merge 6 commits into from
Closed

[WIP] arm64/aarch64 build #20039

wants to merge 6 commits into from

Conversation

gballet
Copy link
Member

@gballet gballet commented Sep 5, 2019

This modifies the Travis build in order to include aarch64 (aka arm64) as a target.

In order to circumvent the limitations imposed by Travis' build environment, it:

  • doesn't run the full virtual machine, and instead just emulates the useland execution, this is to not hit the "10 minutes without input" limit
  • uses a prepared rootfs that includes golang, in order not to have to handle the download of packages from a different architecture, which proved surprisingly tricky

@gballet gballet force-pushed the travis-arm branch 17 times, most recently from 0856d82 to 3e20c46 Compare September 9, 2019 09:27
@gballet gballet changed the title [WIP] disregard this PR for the moment [WIP] arm64/aarch64 build Sep 9, 2019
@gballet gballet force-pushed the travis-arm branch 4 times, most recently from 89b132d to 729e786 Compare September 11, 2019 13:02
Test if some commands indeed work

More tests

Try sudo

Try chroot only

Work around some build issues

More feedback from Travis' builds

Run linter in the chroot

Don't copy the disk image

Fix rsyncs

Show progress to keep travis active

Add GOPATH in env

First attempt at downloading packages

Download root image

Fix GOROOT

Install instead of linting

Also run tests

Bind /proc and /sys for the tests to work
@gballet
Copy link
Member Author

gballet commented Oct 30, 2019

Travis just rolled in arm support, this PR is now obsolete and replaced with #20219

@gballet gballet closed this Oct 30, 2019
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.

1 participant