Commit message (Collapse)AuthorAgeFilesLines
* llvm.eclass: Permit slot 10Michał Górny2019-07-201-1/+1
| | | | Signed-off-by: Michał Górny <>
* llvm.eclass: Update @SUPPORTED_EAPISMichał Górny2019-05-241-1/+1
| | | | Signed-off-by: Michał Górny <>
* llvm.eclass: Enable EAPI 7Michał Górny2019-05-241-1/+1
| | | | Signed-off-by: Michał Górny <>
* llvm.eclass: Add EAPI 7 API to get_llvm_prefixMichał Górny2019-05-241-6/+45
| | | | | | | | | | Add two switches to get_llvm_prefix(), '-b' and '-d' to enable use of LLVM API cross support. '-b' is intended to be used whenever prefix to CBUILD llvm-config is needed, and '-d' (the default) is intended to be used whenever prefix to CHOST bindir is needed (to find CMake modules). Signed-off-by: Michał Górny <>
* llvm.eclass: Update examples for newer LLVM versionsMichał Górny2019-05-241-6/+8
| | | | Signed-off-by: Michał Górny <>
* llvm.eclass: Remove unnecessary '_rc' from < exampleMichał Górny2019-05-241-1/+1
| | | | | | | Since LLVM versions use three components, 'x.0.0_rcN' will be always greater than 'x'. Signed-off-by: Michał Górny <>
* llvm.eclass: Allow slot 9Michał Górny2019-01-181-2/+2
| | | | Signed-off-by: Michał Górny <>
* llvm.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
* llvm.eclass: Add LLVM 8 awarenessMichał Górny2018-08-021-1/+1
* llvm.eclass: Support slot 7Michał Górny2018-01-041-2/+2
* llvm.eclass: Do not prepend /usr/bin to PATH, #622866Michał Górny2017-08-121-1/+7
* llvm.eclass: Support checking LLVM deps via llvm_check_deps()Michał Górny2017-08-121-15/+45
| | | | | | | | 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.
* llvm.eclass: Check for installed package rather than executableMichał Górny2017-08-121-7/+6
| | | | | | | | | Ensure that a specific LLVM slot is installed via using has_version on "sys-devel/llvm:${SLOT}" rather than checking whether llvm-config is installed in expected location. While it is a bit slower, this is closer to a canonical way of testing it and will be useful when we allow testing for more specific dependency strings. Right now, it could be helpful if one has broken LLVM installation (i.e. stray files).
* llvm.eclass: Recognize slot 6 (for 9999)Michał Górny2017-07-241-1/+1
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <>
* llvm.eclass: An eclass to handle dependencies on slotted LLVMMichał Górny2017-02-151-0/+139
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.