summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-01-29 20:33:53 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-15 13:47:13 +0100
commitdf501afc7985a0f02ddf3f8931da1820a794a9df (patch)
treec06947e0f2a0870a95ebc7478b414df729ba7364 /app-laptop
parentsys-libs/libomp: Fix testing using slotted clang (diff)
downloadgentoo-df501afc7985a0f02ddf3f8931da1820a794a9df.tar.gz
gentoo-df501afc7985a0f02ddf3f8931da1820a794a9df.tar.bz2
gentoo-df501afc7985a0f02ddf3f8931da1820a794a9df.zip
llvm.eclass: An eclass to handle dependencies on slotted LLVM
Introduce an eclass to support dependencies building against slotted LLVM. It provides a function to find the newest installed LLVM version that is not newer than the max supported slot, and a trivial pkg_setup() implementation that adds executable directory of this install to PATH. This ensures that: a) build systems will find the correct llvm-config and use it to use the correct version of LLVM, b) CMake's find_package() will find the correct LLVMConfig / ClangConfig files.
Diffstat (limited to 'app-laptop')
0 files changed, 0 insertions, 0 deletions