From: Marek Szuba Date: Mon, 8 Jul 2019 11:43:37 +0000 (+0100) Subject: dev-util/spirv-llvm-translator: have FEATURES=test require USE=tools X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=674b8dca05a69b89a2189337792f27993f36a3ec;p=gentoo.git dev-util/spirv-llvm-translator: have FEATURES=test require USE=tools A lot of the tests call the command-line translator so it must be present if tests are to be run. Conversely, no point in making llvm-spirv installation mandatory for people who do not care about tests. Closes: https://bugs.gentoo.org/689402 Signed-off-by: Marek Szuba Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-8.0.1.1-r1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-8.0.1.1-r1.ebuild index 675e083db1ac..8a43036f337b 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-8.0.1.1-r1.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-8.0.1.1-r1.ebuild @@ -25,6 +25,8 @@ DEPEND="${COMMON} test? ( dev-python/lit )" RDEPEND="${COMMON}" +REQUIRED_USE="test? ( tools )" + LLVM_MAX_SLOT=8 PATCHES=(