summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2019-07-08 12:43:37 +0100
committerMarek Szuba <marecki@gentoo.org>2019-07-08 12:44:22 +0100
commit674b8dca05a69b89a2189337792f27993f36a3ec (patch)
tree47c680acfa7f49394500d427f014eb4c04bf5b48 /dev-util/spirv-llvm-translator
parentdev-perl/Data-Serializer: Fix unsorted keywords (diff)
downloadgentoo-674b8dca05a69b89a2189337792f27993f36a3ec.tar.gz
gentoo-674b8dca05a69b89a2189337792f27993f36a3ec.tar.bz2
gentoo-674b8dca05a69b89a2189337792f27993f36a3ec.zip
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 <marecki@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-util/spirv-llvm-translator')
-rw-r--r--dev-util/spirv-llvm-translator/spirv-llvm-translator-8.0.1.1-r1.ebuild2
1 files changed, 2 insertions, 0 deletions
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=(