-
Notifications
You must be signed in to change notification settings - Fork 14
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
[release] Build vmtest binary for aarch64 and s390x too #52
Conversation
Build vmtest for x86_64, aarch64, and s390x. As a side effect, x86_64 does not need a x86_64 anymore to be compiled. Example release: https://github.com/chantra/danobi-vmtest/releases/tag/v1.0.0 Signed-off-by: Manu Bretelle <chantr4@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a side effect, x86_64 does not need a x86_64 anymore to be compiled.
Not sure I got what you mean by that, but lgtm here. Might be nice to pull the code into a file in scripts/
but not a big deal
Because we install the $arch toolchain regardless of what the host architecture is. ex: if host is arm64, we will still run:
for x86_64, resulting on cross-compiling vmtest for x86_64
Agreed, let me do this.... |
moved to a script. Fixed some potential issue (e.g do not install toolchain for the running platform). workflow run: https://github.com/chantra/danobi-vmtest/actions/runs/7479502764/job/20356831774 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
* Make the script default to x86_64,aarch64, and s390x. * Speed up toolchain installation by batching it in one command. * save targets using the architecture name emmited by `uname -m` instead of debian architecture name. Signed-off-by: Manu Bretelle <chantr4@gmail.com>
41e8467
to
c10a4c1
Compare
Build vmtest for x86_64, aarch64, and s390x.
As a side effect, x86_64 does not need a x86_64 anymore to be compiled.
Example release: https://github.com/chantra/danobi-vmtest/releases/tag/v1.0.0