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

Add an arm64 architecture variant of the Linux build #510

Merged
merged 5 commits into from
Oct 2, 2023
Merged

Add an arm64 architecture variant of the Linux build #510

merged 5 commits into from
Oct 2, 2023

Conversation

mmizutani
Copy link
Contributor

@mmizutani mmizutani commented Sep 30, 2023

This PR adds an arm64 CPU architecture variant of the Linux build as a release target in addition to the existing amd64 (x86_64) Linux build.

Currently, unlike tbls-build, the release builds of the tbls program for macOS are available for both the amd64 and arm64 architectures to support both Intel CPU and Apple CPU, but the release builds for Linux OSes are only available for the amd64 architecture.

There are a couple of use cases where the arm64 arch Linux release of the tbls program is valuable:

  • Installing tbls in a Linux OS container on an Apple CPU macOS machines without resorting to compatibility mode (enabling emulation of the linux/amd64 platform), which could hurt performance and development productivity.
  • Installing tbls on Raspberry Pi devices, which are powered by ARM processors. This is armhf arch, not arm64.
  • Installing tbls in workloads (e.g., self-hosted CI/CD pipelines) running on virtual machines and cloud container platforms powered by the AWS Graviton CPU, which is based on the ARM CPU architecture.

@k1LoW
Copy link
Owner

k1LoW commented Oct 2, 2023

@mmizutani Thank you.

tbls uses Cgo and requires additional maintenance to get Linux arm64 builds onto the release pipeline.

We have added a test for the release pipeline and hope you will check it out.

@k1LoW k1LoW added the enhancement New feature or request label Oct 2, 2023
@mmizutani
Copy link
Contributor Author

mmizutani commented Oct 2, 2023

Thanks for preparing the release-test CI workflow.

The linux-release-test Job has successfully passed, but my unnecessary change unrelated to this PR caused the darwin-release-test Job to fail.

Now that the unnecessary commit has been dropped, all the jobs in the next CI run would pass.

@k1LoW k1LoW added the minor label Oct 2, 2023
@k1LoW
Copy link
Owner

k1LoW commented Oct 2, 2023

@mmizutani GREAT WORK!!!! Thank you!!!!!

@k1LoW k1LoW merged commit 444bed4 into k1LoW:main Oct 2, 2023
5 checks passed
@github-actions github-actions bot mentioned this pull request Oct 2, 2023
@mmizutani mmizutani deleted the linux-arm64-arch-build branch October 2, 2023 22:37
@mmizutani
Copy link
Contributor Author

mmizutani commented Oct 2, 2023

Thank you for the review and for the awesome CLI program!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants