Skip to content

feat: ARM64 build target for linux#1208

Merged
mergify[bot] merged 1 commit intoaws:masterfrom
kohidave:master
Jul 30, 2020
Merged

feat: ARM64 build target for linux#1208
mergify[bot] merged 1 commit intoaws:masterfrom
kohidave:master

Conversation

@kohidave
Copy link
Copy Markdown
Contributor

This change produces ARM binaries for Linux. We can't enable
the same for our darwin builds right now since go assumes that
darwin/arm64 is an iOS target:
golang/go#38485

This fixes #1058

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kohidave kohidave requested a review from a team as a code owner July 29, 2020 23:27
@kohidave kohidave requested a review from efekarakus July 29, 2020 23:27
Comment thread Makefile Outdated
@@ -46,6 +46,7 @@ compile-windows:

compile-linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "${LINKER_FLAGS} ${RELEASE_BUILD_LINKER_FLAGS}" -o ${DESTINATION}-amd64 ./cmd/copilot
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how much of a pain is it to update this one to -linux-amd64?

I think the buildspec needs to be updated as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oky doky. i kept around the old one as well, until we can update our pipeline.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't require a pipeline update fortunately, since artifact releases are done by looping over the objects listed in the manifest file.

This change produces ARM binaries for Linux. We can't enable
the same for our darwin builds right now since go assumes that
darwin/arm64 is an iOS target:
golang/go#38485

This fixes aws#1058
Copy link
Copy Markdown
Contributor

@bvtujo bvtujo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yippee!

@mergify mergify bot merged commit 86ac9de into aws:master Jul 30, 2020
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.

ARM binaries

4 participants