-
Notifications
You must be signed in to change notification settings - Fork 661
Makefile: split lima-additional-guestagents-*.tar.gz from lima-*.tar.gz #3503
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
Conversation
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
756a491
to
51a193b
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
`make artifact` now produces two archives that will be uploaded to <https://github.com/lima-vm/lima/releases>: 1. lima-<VERSION>-Darwin-arm64.tar.gz: (`make native`) - core components (bin/limactl, share/lima/templates, ...) - share/lima/lima-guestagent.Linux-aarch64 2. lima-additional-guestagents-<VERSION>-Darwin-arm64.tar.gz: (`make additional-guestagents`) - share/lima/lima-guestagent.Linux-armv7l - share/lima/lima-guestagent.Linux-ppc64le - share/lima/lima-guestagent.Linux-riscv64 - share/lima/lima-guestagent.Linux-s390x - share/lima/lima-guestagent.Linux-x86_64 For compatibility reason, `make` still builds the guestagents for all the architectures by default. Package maintainers are suggested to split `lima` package to `lima` and `lima-additional-guestagents`. Fix issue 3321 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Will release v1.1 RC after merging this cc @lima-vm/committers |
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.
Seems ok to me.
But honestly, I find the Makefile is getting increasingly unreadable and I wonder if it would be better if it was replaced by a couple of build scripts.
We don't really make use of dependency management; rebuilding everything from scratch is typically just as fast anyways.
@@ -140,7 +140,7 @@ exe: _output/bin/limactl$(exe) | |||
|
|||
.PHONY: minimal native | |||
minimal: clean limactl native-guestagent default_template | |||
native: clean limactl helpers native-guestagent templates | |||
native: clean limactl helpers native-guestagent templates template_experimentals |
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.
This (changing native
target to include experimental templates) is not covered by the PR description, but I agree with the change.
make artifact
now produces two archives that will be uploaded to https://github.com/lima-vm/lima/releases:lima-<VERSION>-Darwin-arm64.tar.gz
: (make native
)lima-additional-guestagents-<VERSION>-Darwin-arm64.tar.gz
: (make additional-guestagents
)For compatibility reason,
make
still builds the guestagents for all the architectures by default.Package maintainers are suggested to split
lima
package tolima
andlima-additional-guestagents
.Fix #3321