Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662104 - sys-devel/llvm: introduce 'utils' use flag for additional utility scripts
Summary: sys-devel/llvm: introduce 'utils' use flag for additional utility scripts
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-25 13:40 UTC by Christian Strahl
Modified: 2018-08-07 07:41 UTC (History)
2 users (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 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.