llvm.eclass: Support checking LLVM deps via llvm_check_deps()
authorMichał Górny <mgorny@gentoo.org>
Fri, 30 Jun 2017 21:09:33 +0000 (23:09 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 12 Aug 2017 21:21:29 +0000 (23:21 +0200)
commit672d7885d6de8969dbc8df5b168a253afa68cbea
treed23c6209a86d6877514e458b207fd32c5c04225b
parent0653b35c94d4c071bd0fbc9760e44f1b53b62a7b
llvm.eclass: Support checking LLVM deps via llvm_check_deps()

Introduce the support for llvm_check_deps() function to override
the default LLVM slot acceptance test (checking whether sys-devel/llvm
is installed). This can be used to match more complex dependency
specifications, e.g. to find a LLVM slot that has a matching clang
version, or to request USE dependencies on LLVM or clang.
eclass/llvm.eclass