Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479588 - sys-devel/llvm should default-enable clang useflag
Summary: sys-devel/llvm should default-enable clang useflag
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-03 03:10 UTC by Patrick Lauer
Modified: 2013-10-12 13:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-08-03 03:10:05 UTC
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sys-devel/clang-3.3-r100
# required by @selected
# required by @world (argument)
=sys-devel/llvm-3.3-r1 clang


I think it'd be a lot easier if it were just default-enabled
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-08-03 08:35:31 UTC
I thought about this too but there's a big cons -- all those mesa users who need only LLVM (because of mesa) and are going to hit 2.4G multilib llvm+clang build.
Comment 2 Patrick Lauer gentoo-dev 2013-08-05 02:31:02 UTC
$ equery s llvm
 * sys-devel/llvm-3.3-r1
         Total files : 1307
         Total size  : 616.49 MiB

it's not that big anyway ;)

I guess this is a situation where you can't make everyone happy - I had to enable the useflag on all machines that have llvm installed, and I wouldn't be upset about a few megabytes extra.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-08-05 07:15:44 UTC
Errr... nostrip?

 * sys-devel/llvm-9999-r1
         Total files : 1532
         Total size  : 269.65 MiB

But I was referring to the build tree size. 2.4G is the amount that exceeds tmpfs for many people and requires special action. Enabling a USE flag is IMO easier than knowing that you can disable USE=clang without making mesa sad.
Comment 4 Patrick Lauer gentoo-dev 2013-08-08 07:24:27 UTC
People using tmpfs should not be a reason ... 

(Plus there's packages like boost that need >9GB anyway, so ... why do we care about self-inflicted failures?)
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-08-08 07:48:14 UTC
(In reply to Patrick Lauer from comment #4)
> People using tmpfs should not be a reason ... 

Shouldn't people with recommended setup by a main reason for defaults?

> (Plus there's packages like boost that need >9GB anyway, so ... why do we
> care about self-inflicted failures?)

I'm sorry but I must be using the wrong boost then since my boost is much smaller (and faster to build) than llvm.