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

Linux / System / Add Support for Targeting Arbitrary Machine Architectures #1128

Open
rmartin16 opened this issue Mar 9, 2023 · 0 comments · May be fixed by #1392
Open

Linux / System / Add Support for Targeting Arbitrary Machine Architectures #1128

rmartin16 opened this issue Mar 9, 2023 · 0 comments · May be fixed by #1392
Labels
enhancement New features, or improvements to existing features. linux The issue relates Linux support.

Comments

@rmartin16
Copy link
Member

rmartin16 commented Mar 9, 2023

What is the problem or limitation you are having?

Building a linux system package is currently limited to the architecture of the machine building the package. So, an x86_64 machine can only build packages for x86_64. A likely desired scenario is building for aarch64/arm64 on x86_64.

ref: #1106 (comment)

Describe the solution you'd like

The linux system package build process already supports targeting arbitrary distros with Docker; we should extend this to support arbitrary architectures via the buildx Docker builder.

https://docs.docker.com/build/building/multi-platform/

Describe alternatives you've considered

buildx uses QEMU to emulate other arches; so, a VM for the desired arch can be manually created and used to build an app.

Additional context

No response

@rmartin16 rmartin16 added enhancement New features, or improvements to existing features. linux The issue relates Linux support. labels Mar 9, 2023
@rmartin16 rmartin16 linked a pull request Jul 30, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, or improvements to existing features. linux The issue relates Linux support.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant