From 674b8dca05a69b89a2189337792f27993f36a3ec Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Mon, 8 Jul 2019 12:43:37 +0100 Subject: [PATCH] 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 --- .../spirv-llvm-translator-8.0.1.1-r1.ebuild | 2 ++ 1 file changed, 2 insertions(+) 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=( -- 2.26.2