dieter
On Thu, 11 Aug 2022 09:17:40 +0200 Dan Čermák wrote:
I could see a ImageMagic-V3 as an option for those with hardware that can take advantage of it and just plain ImageMagic for those that cannot.
Yes, that's what I'd like to see as well, but currently rpm does not support this natively (it could be worked around via different multiple repositories though, but I'd like a proper solution to be honest).
I do not know if it possible from the build steps to produce all the -vX binaries/DSOs in one go and package them all into one "fat" rpm. In principle it would mean to do the compile, link and install steps several times with different compiler settings and installation targets. For the rpm installation I could imagine that by default the -v1 version is installed (a link in the filesystem pointing to the included -v1 version) and a rpm-post scriptlet detects the architecture level supported by the current CPU and changes this link to the highest possible variant - for packages where this really matters.
I don't think this is a great idea, as the rpm size will just blow up
needlessly causing more disk usage and larger downloads for *everyone*.
Cheers,
Dan
--
Dan Čermák