From: Michał Górny Date: Thu, 16 Nov 2017 16:53:29 +0000 (+0100) Subject: sys-devel/llvm: Stop enforcing external lit for tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bffe6a1dd3106ea8c2c1a1a0527f3f650c303341;p=gentoo.git sys-devel/llvm: Stop enforcing external lit for tests Modify the ebuild to no longer enforce externally installed dev-python/lit for tests, effectively causing the build system to use the bundled copy of lit (along with llvm-lit). While using the external package is more canonical, its disadvantages outweight the gain. Most notably, lit is not slotted in Gentoo and the behavior of lit frequently changes subtly which caused us to require a major version match between LLVM and lit. As a result, attempting to build multiple slots of LLVM with tests enabled cause package collisions. Building both LLVM and lit simultaneously causes a circular dependency. Since lit comes from the same package as LLVM itself and LLVM requires explicit python-any-r1 use anyway, using the bundled copy has no added cost. It reduces the risk of breakage resulting from skipping llvm-lit wrapper and solves the forementioned problems caused by depending on dev-python/lit. The external package is still useful for projects that do not require LLVM sources. --- diff --git a/sys-devel/llvm/llvm-4.0.1.ebuild b/sys-devel/llvm/llvm-4.0.1.ebuild index 4e3e2dcbed0e..6eca3552280d 100644 --- a/sys-devel/llvm/llvm-4.0.1.ebuild +++ b/sys-devel/llvm/llvm-4.0.1.ebuild @@ -53,7 +53,6 @@ DEPEND="${RDEPEND} doc? ( dev-python/sphinx ) gold? ( sys-libs/binutils-libs ) libffi? ( virtual/pkgconfig ) - test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") ) !!