Skip to content

Commit

Permalink
dev-util/spirv-llvm-translator: have FEATURES=test require USE=tools
Browse files Browse the repository at this point in the history
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 <[email protected]>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
  • Loading branch information
Marek Szuba committed Jul 8, 2019
1 parent eb1ae71 commit 674b8dc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ DEPEND="${COMMON}
test? ( dev-python/lit )"
RDEPEND="${COMMON}"

REQUIRED_USE="test? ( tools )"

LLVM_MAX_SLOT=8

PATCHES=(
Expand Down

0 comments on commit 674b8dc

Please sign in to comment.