On Wed, 2022-12-07 at 15:08 +0100, Dirk Müller wrote:
* really minimal (disk size) installations turn off --recommends, or remove the -v3 repo, and only get the x86_64-v0 (which is anyway code wise smaller, so if you want it, you get the smaller binary) * default installations get both libraries installed, so your hardware selects which variant gets picked. you get the better one if better hardware allows it. * you can not accidentally wreck your system by installing the -v3 variant only because it does not provide anything, so the solver would prevent you from doing something stupid.
This would be implementable via the existing build-baselibs mechanics which we use for building the -32bit/-64bit packages for years (by repacking them into a new name on the other architecture). it feels like this is relatively easy to implement.
except it is not a 'repackage' across archs like -32bit; it's rather a 2nd build started with different flags. So more similar to the kernel- signing 2nd step. Doing it in the main package we'll have to be very careful: not all workers support v3 and running the build on a worker that doesn't support it will fail. Cheers, Dominique PS: I started https://en.opensuse.org/openSUSE:X86-64-Architecture-Levels to get to a clean solution of the problem. This is a draft proposal without any commitment to get this imlemented.