Even if the relevant LLVM target is only strictly required
at build-time, mesa links to all targets anyway and removing any of them
will break link chain.
llvm? (
video_cards_radeonsi? (
vulkan? ( >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}] )
+ || (
+ sys-devel/llvm[llvm_targets_AMDGPU]
+ sys-devel/llvm[video_cards_radeon]
+ )
)
>=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
)
# LLVM < 3.9 is out of the game
DEPEND="${RDEPEND}
${PYTHON_DEPS}
- llvm? (
- video_cards_radeonsi? ( || (
- sys-devel/llvm[llvm_targets_AMDGPU]
- sys-devel/llvm[video_cards_radeon]
- ) )
- )
opencl? (
>=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
>=sys-devel/clang-3.6.0:=[${MULTILIB_USEDEP}]