How to deal with multiple versions of LLVM

I have llvm19, llvm20 & llvm21 installed as various other packages depend on them. Is there a way to remove two of three *without* having to rebuild packages locally but somehow fixing up their dependencies?

I am guessing no, as they likely depend on some shared library provided by each of these large large vile mammoth packages but I thought I'd ask. I guess I can try to replace them with the -lite versions, right?
 
Does pkg autoremove remove them
No. I install packages (except drm-*) so build dependencies shouldn’t matter. You need version dependent shared libs at runtime. I suppose I can force install pkgs dependent on older llvms but in the hope pkg builder machines are updated but I doubt it.
 
Back
Top