From: Michał Górny Date: Thu, 16 Nov 2017 17:00:19 +0000 (+0100) Subject: dev-ml/llvm-ocaml: Stop enforcing external lit for tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=20c1ad8ab928a4593bc76c940ef40f0c0183e4e1;p=gentoo.git dev-ml/llvm-ocaml: 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. Furthermore, in the current git version the additional (fine-grained) test rules do not work correctly without llvm-lit, making it impossible to run LLVM binding tests separately. --- diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild index 6375c108d859..5eda59e817ee 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild @@ -35,8 +35,7 @@ RDEPEND=" DEPEND="${RDEPEND} dev-lang/perl dev-ml/findlib - test? ( dev-ml/ounit - $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") ) + test? ( dev-ml/ounit ) !!