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

Bug 662104

Summary: sys-devel/llvm: introduce 'utils' use flag for additional utility scripts
Product: Gentoo Linux Reporter: Christian Strahl <c.a.strahl>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: jstein, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=662106
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Strahl 2018-07-25 13:40:07 UTC
At the moment the llvm ebuild installs utility scripts which needs additional packages to run.

This is documented via an elog post installation message:

  * You can find additional opt-viewer utility scripts in:
  *   //usr/lib/llvm/6/share/opt-viewer
  * To use these scripts, you will need Python 2.7 along with the following
  * packages:
  *   dev-python/pygments (for opt-viewer)
  *   dev-python/pyyaml (for all of them)


I suggest to introduce a 'utility' use flag for this package.

If the flag is unset, the utility scripts shouldn't be installed.
If its set, the utility scripts should be installed and the runtime deps should be pulled in as well.


Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-07 07:41:37 UTC
Not without runtime-switchable flags.  Otherwise, we'll end up having people rebuild whole LLVM just because they missed the flag.