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