summaryrefslogtreecommitdiff
path: root/eclass/llvm.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /eclass/llvm.eclass
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'eclass/llvm.eclass')
-rw-r--r--eclass/llvm.eclass20
1 files changed, 10 insertions, 10 deletions
diff --git a/eclass/llvm.eclass b/eclass/llvm.eclass
index 2da2ba0aa90a..a41381c3d4ee 100644
--- a/eclass/llvm.eclass
+++ b/eclass/llvm.eclass
@@ -17,21 +17,21 @@
# a proper dependency string yourself to guarantee that appropriate
# version of LLVM is installed.
#
-# Example use for a package supporting LLVM 5 to 7:
+# Example use for a package supporting LLVM 9 to 11:
# @CODE
-# inherit cmake-utils llvm
+# inherit cmake llvm
#
# RDEPEND="
-# <sys-devel/llvm-8:=
+# <sys-devel/llvm-11:=
# || (
-# sys-devel/llvm:7
-# sys-devel/llvm:6
-# sys-devel/llvm:5
+# sys-devel/llvm:9
+# sys-devel/llvm:10
+# sys-devel/llvm:11
# )
# "
# DEPEND=${RDEPEND}
#
-# LLVM_MAX_SLOT=7
+# LLVM_MAX_SLOT=11
#
# # only if you need to define one explicitly
# pkg_setup() {
@@ -42,12 +42,12 @@
#
# Example for a package needing LLVM+clang w/ a specific target:
# @CODE
-# inherit cmake-utils llvm
+# inherit cmake llvm
#
# # note: do not use := on both clang and llvm, it can match different
# # slots then. clang pulls llvm in, so we can skip the latter.
# RDEPEND="
-# >=sys-devel/clang-6:=[llvm_targets_AMDGPU(+)]
+# >=sys-devel/clang-9:=[llvm_targets_AMDGPU(+)]
# "
# DEPEND=${RDEPEND}
#
@@ -177,7 +177,7 @@ get_llvm_prefix() {
die "${FUNCNAME}: invalid max_slot=${max_slot}"
fi
- die "No LLVM slot${1:+ <= ${1}} found installed!"
+ die "No LLVM slot${1:+ <= ${1}} satisfying the package's dependencies found installed!"
}
# @FUNCTION: llvm_pkg_setup