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