diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-01-29 20:33:53 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-02-15 13:47:13 +0100 |
commit | df501afc7985a0f02ddf3f8931da1820a794a9df (patch) | |
tree | c06947e0f2a0870a95ebc7478b414df729ba7364 /sci-geosciences/qmapshack | |
parent | sys-libs/libomp: Fix testing using slotted clang (diff) | |
download | gentoo-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 'sci-geosciences/qmapshack')
0 files changed, 0 insertions, 0 deletions