Since [opencl] requires [llvm], and additionally sys-devel/clang pulls
sys-devel/llvm in, there is really no reason for a separate [opencl]
block or a duplicate sys-devel/llvm dependency.
# simultaneously.
RDEPEND="${RDEPEND}
llvm? (
+ opencl? (
+ >=sys-devel/clang-3.9.0:=[${MULTILIB_USEDEP}]
+ )
video_cards_radeonsi? (
>=sys-devel/llvm-3.9.0[llvm_targets_AMDGPU(-)]
)
>=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}]
)
- opencl? (
- >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}]
- >=sys-devel/clang-3.9.0:=[${MULTILIB_USEDEP}]
- )
"
DEPEND="${RDEPEND}
ewarn "detected! This can cause problems. For details, see bug 459306."
fi
- if use llvm || use opencl; then
+ if use llvm; then
llvm_pkg_setup
fi
python-any-r1_pkg_setup