-
Notifications
You must be signed in to change notification settings - Fork 661
Consider setting CONFIG_GUESTAGENT_ARCH_{ARMV7L, RISCV64, S390X, ...}
to n
(for Homebrew)
#3321
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
Comments
Normally (with konfig) this is handled by providing different config files. You can even keep the defaults as they are, and only change config.mk
defconfig (
alldefconfig (
|
I'm confused; can't we already build whatever we want with a combination of these: Lines 97 to 101 in 4a88b71
Personally I always thought that the |
I think at this point, the makefile targets could probably replace the Kconfig? It's a bit doubled up, and having dedicated targets seemed to be preferred. I mostly used it (as an alternative to autoconf), because I was familar with it... |
👍 |
@lima-vm/maintainers Are we safe to do this in v1.1, or do we want to revisit this in v1.2?
|
I don't like the idea of an additional configure script. I think we should just add an For Homebrew it makes sense to me to just include For the binary distribution I don't mind including all guestagents. I don't know who is using the binary releases, but the download numbers are small compared to Homebrew installs: $ gh api repos/lima-vm/lima/releases --jq '
[ ["Tag", "Asset", "Downloads"] ] +
(map( .tag_name as $tag | .assets | map([ $tag, .name, .download_count ]) ) | add)
| .[] | @tsv' | grep -vE '(alpha|beta|go-mod|SHA)' | column -s $'\t' -t
Tag Asset Downloads
v1.0.7 lima-1.0.7-Darwin-arm64.tar.gz 1052
v1.0.7 lima-1.0.7-Darwin-x86_64.tar.gz 1547
v1.0.7 lima-1.0.7-Linux-aarch64.tar.gz 35
v1.0.7 lima-1.0.7-Linux-x86_64.tar.gz 5172
v1.0.6 lima-1.0.6-Darwin-arm64.tar.gz 1287
v1.0.6 lima-1.0.6-Darwin-x86_64.tar.gz 2225
v1.0.6 lima-1.0.6-Linux-aarch64.tar.gz 84
v1.0.6 lima-1.0.6-Linux-x86_64.tar.gz 6059
…
❯ brew info lima
==> lima: stable 1.0.7 (bottled), HEAD
…
==> Analytics
install: 14,704 (30 days), 51,154 (90 days), 192,827 (365 days)
install-on-request: 7,899 (30 days), 28,141 (90 days), 122,289 (365 days) I just checked |
armv7l
,riscv64
, ands390x
(being added via #3319) are very rarely used and should not waste the disk space by default:My suggestion is:
aarch64
andx86_64
by default. Probably, there should be a script like./configure --guestagent-arch=all
to allow keeping compiling everything.lima
formula tolima
andlima-extra-guestagents
. Needs to be negotiated with Homebrew maintainers.The same should apply to other potential guestagents in future too (
ppc64le
,FreeBSD-x86_64
, etc.)The text was updated successfully, but these errors were encountered: