dev-util/spirv-llvm-translator: streamline installation of cmdline tool
authorMarek Szuba <marecki@gentoo.org>
Thu, 4 Jul 2019 12:00:19 +0000 (13:00 +0100)
committerMarek Szuba <marecki@gentoo.org>
Thu, 4 Jul 2019 12:01:22 +0000 (13:01 +0100)
commit6e1dfe5cfd4ba44f6da00e59a038b6033893cc14
tree9fa8fbdc695b9834702e120e066957a93d62ed1d
parent653a5109e1016920aa790099a3f56bca8cd9216b
dev-util/spirv-llvm-translator: streamline installation of cmdline tool

1. Use the LLVM_BUILD_TOOLS flag from the CMake module AddLLVM to
control whether to build and install llvm-spirv or not. This should also
take care of the "insecure RUNPATHs" QA warning;

2. Make the above conditional upon USE=tools.

Closes: https://bugs.gentoo.org/689242
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-util/spirv-llvm-translator/metadata.xml
dev-util/spirv-llvm-translator/spirv-llvm-translator-8.0.1.1-r1.ebuild [new file with mode: 0644]