Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 579762

Summary: sys-devel/{llvm ,clang} slotting?
Product: Gentoo Linux Reporter: Evan Teran <evan.teran>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Evan Teran 2016-04-12 18:43:29 UTC
As a developer I like to build and test code with lots of compilers and well as trying out the latest and greatest features that compiler have to offer. So I'd love to have several version of clang/llvm installed on my system side by side.

One thing that I've noticed is that llvm and clang both don't seem to support "sloting" very well. That is, I can't have clang-3.8.0 installed the same time as clang-3.5.1.

Here's my questions:

1. What are the technical reasons why they can't be slotted? the libraries are all suffixed with version numbers. The binaries are too. I did notice that /usr/inlude/{llvm,llvm-c} are not versioned, but that seems easy enough to fix.

2. would it be possible to SLOT these libraries and create an eselect module to pick which one is the default? That way things like qt-creator can just depend on "sys-devel/llvm:3.6" or similar.

3. Is it simply a matter of effort? If so, I am more than willing to help. I have experience contributing to gentoo ebuilds such as the vmware-overlay.

Thanks,
Evan Teran

Reproducible: Always
Comment 1 Alex Xu (Hello71) 2016-04-12 18:53:56 UTC
how did you get editbugs but don't know how to use search function?

*** This bug has been marked as a duplicate of bug 578182 ***
Comment 2 Evan Teran 2016-04-12 19:00:54 UTC
Fair enough, I should have checked if there was already a bug tracking this.