dev-ml/llvm-ocaml: Stop enforcing external lit for tests
authorMichał Górny <mgorny@gentoo.org>
Thu, 16 Nov 2017 17:00:19 +0000 (18:00 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Nov 2017 21:52:07 +0000 (22:52 +0100)
commit20c1ad8ab928a4593bc76c940ef40f0c0183e4e1
tree313f7f6ca68cc62373c2cecf5dbf23956875c012
parentbffe6a1dd3106ea8c2c1a1a0527f3f650c303341
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.
dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild
dev-ml/llvm-ocaml/llvm-ocaml-5.0.9999.ebuild
dev-ml/llvm-ocaml/llvm-ocaml-9999.ebuild