Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662106 - sys-devel/clang: introduce 'utils' use flag for additional utility scripts
Summary: sys-devel/clang: 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:41 UTC by Christian Strahl
Modified: 2018-08-07 07:42 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:41:27 UTC
At the moment the clang ebuild installs utility scripts which needs additional packages to run.

This is documented via an elog post installation message:

  * You can find additional utility scripts in:
  *   //usr/lib/llvm/6/share/clang
  * To use these scripts, you will need Python 2.7. Some of them are vim
  * integration scripts (with instructions inside). The run-clang-tidy.py
  * scripts requires the following additional package:
  *   dev-python/pyyaml

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:42:04 UTC
Not without runtime-switchable flags.  Otherwise, we'll end up having people rebuild whole LLVM just because they missed the flag.