diff options
author | Sam James <sam@gentoo.org> | 2021-04-10 01:24:17 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-10 01:24:17 +0000 |
commit | 1472bd13bca2397d82b3f2a82baeae775e45befa (patch) | |
tree | 171d89e62ddbb9d957779e6106a499be109572a7 /eclass/llvm.eclass | |
parent | llvm.eclass: drop cmake-utils references (diff) | |
download | gentoo-1472bd13bca2397d82b3f2a82baeae775e45befa.tar.gz gentoo-1472bd13bca2397d82b3f2a82baeae775e45befa.tar.bz2 gentoo-1472bd13bca2397d82b3f2a82baeae775e45befa.zip |
llvm.eclass: modernise Clang versions in example
We're already regenerating cache for the cmake-utils reference
in the documentation, so let's refresh the Clang versions in
the example while we're here.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/llvm.eclass')
-rw-r--r-- | eclass/llvm.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/llvm.eclass b/eclass/llvm.eclass index b5efe406e38d..8b524234ab0a 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 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() { @@ -47,7 +47,7 @@ # # 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} # |