llvm.eclass: Update examples for newer LLVM versions
authorMichał Górny <mgorny@gentoo.org>
Tue, 30 Apr 2019 05:17:12 +0000 (07:17 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 24 May 2019 04:59:13 +0000 (06:59 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/llvm.eclass

index 618a924bbb873cffc319f0c55f48b74fc862b472..6ca2f1737ba11ab10c4898e49b8058abc66fd646 100644 (file)
 # a proper dependency string yourself to guarantee that appropriate
 # version of LLVM is installed.
 #
-# Example use for a package supporting LLVM 3.8 to 5:
+# Example use for a package supporting LLVM 5 to 7:
 # @CODE
 # inherit cmake-utils llvm
 #
 # RDEPEND="
-#      <sys-devel/llvm-6:=
+#      <sys-devel/llvm-8:=
 #      || (
+#              sys-devel/llvm:7
+#              sys-devel/llvm:6
 #              sys-devel/llvm:5
-#              sys-devel/llvm:4
-#              >=sys-devel/llvm-3.8:0
 #      )
 # "
+# DEPEND=${RDEPEND}
 #
-# LLVM_MAX_SLOT=5
+# LLVM_MAX_SLOT=7
 #
 # # only if you need to define one explicitly
 # pkg_setup() {
@@ -46,8 +47,9 @@
 # # 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-4:=[llvm_targets_AMDGPU(+)]
+#      >=sys-devel/clang-6:=[llvm_targets_AMDGPU(+)]
 # "
+# DEPEND=${RDEPEND}
 #
 # llvm_check_deps() {
 #      has_version "sys-devel/clang:${LLVM_SLOT}[llvm_targets_AMDGPU(+)]"