Skip to content

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented May 7, 2025

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
  1. 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 #3321

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda AkihiroSuda force-pushed the fix-3321 branch 2 times, most recently from 756a491 to 51a193b Compare May 7, 2025 09:12
@AkihiroSuda

This comment was marked as resolved.

@AkihiroSuda AkihiroSuda marked this pull request as draft May 7, 2025 09:25
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>
@AkihiroSuda AkihiroSuda marked this pull request as ready for review May 7, 2025 09:39
@AkihiroSuda AkihiroSuda requested a review from a team May 8, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider setting CONFIG_GUESTAGENT_ARCH_{ARMV7L, RISCV64, S390X, ...} to n (for Homebrew)
1 participant