public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Un-slotting LLVM
@ 2021-11-08 11:18 Michał Górny
  2021-11-08 11:46 ` Florian Schmaus
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Michał Górny @ 2021-11-08 11:18 UTC (permalink / raw
  To: gentoo-dev

Hi,

A few years back I've slotted LLVM and Clang to make the life with
revdeps easier.  Long story short, every major LLVM release (which
happens twice a year) breaks API and it takes some time for revdeps to
adjust.  Slotting made it possible to install multiple versions
simultaneously, and therefore let "faster" packages use newer LLVM
without being blocked by "slower" packages on the user's system.

Unfortunately, this ended up pretty bothersome to maintain.  Besides
making ebuilds quite complex (and prone to mistakes), I'm hearing more
and more reports of programs being broken through getting multiple LLVM
versions in the link chain.

This is not something that can be easily solved.  In other words, it's
a mess and I don't think we're really getting anywhere.  For this
reason, I'm considering dropping slotting and going back to permitting
only a single version of LLVM and Clang being installed.

This would have two major implications:

1. If you installed any package that requires older LLVM, it'd block all
other packages from updating.  If you hit two packages that do not have
a common supported LLVM version, you won't be able to install them
at all.

On the plus side, this will motivate developers to actually start fixing
these packages rather than letting them rot until I start removing old
LLVM versions.

2. We will no longer support having multiple clang versions installed. 
While it was convenient for testing stuff, it's not really a killer
feature though.

The only real alternative I see is actively limiting supported LLVM
versions in packages to ensure that all libraries in the depgraph end up
using the same LLVM version.  However, I don't think it's really worth
the effort.

I don't have a ready unslotting plan yet.

WDYT?

-- 
Best regards,
Michał Górny



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-11-10  7:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-08 11:18 [gentoo-dev] [RFC] Un-slotting LLVM Michał Górny
2021-11-08 11:46 ` Florian Schmaus
2021-11-08 11:54 ` Luke A. Guest
2021-11-08 12:52 ` Gerion Entrup
2021-11-08 22:37 ` Georgy Yakovlev
2021-11-09  1:41 ` Sam James
2021-11-09  2:00   ` James Beddek
2021-11-09  9:41 ` Michał Górny
2021-11-10  7:42   ` [gentoo-dev] " Benda Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox