Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: chewi@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/4] llvm.eclass: Update examples for newer LLVM versions
Date: Tue, 30 Apr 2019 05:40:01
Message-Id: 20190430053858.10208-3-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/4] llvm.eclass: EAPI 7 support by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/llvm.eclass | 12 +++++++-----
4 1 file changed, 7 insertions(+), 5 deletions(-)
5
6 diff --git a/eclass/llvm.eclass b/eclass/llvm.eclass
7 index 618a924bbb87..e4052a6400c0 100644
8 --- a/eclass/llvm.eclass
9 +++ b/eclass/llvm.eclass
10 @@ -17,18 +17,19 @@
11 # a proper dependency string yourself to guarantee that appropriate
12 # version of LLVM is installed.
13 #
14 -# Example use for a package supporting LLVM 3.8 to 5:
15 +# Example use for a package supporting LLVM 5 to 7:
16 # @CODE
17 # inherit cmake-utils llvm
18 #
19 # RDEPEND="
20 -# <sys-devel/llvm-6:=
21 +# <sys-devel/llvm-8:=
22 # || (
23 +# sys-devel/llvm:7
24 +# sys-devel/llvm:6
25 # sys-devel/llvm:5
26 -# sys-devel/llvm:4
27 -# >=sys-devel/llvm-3.8:0
28 # )
29 # "
30 +# DEPEND=${RDEPEND}
31 #
32 # LLVM_MAX_SLOT=5
33 #
34 @@ -46,8 +47,9 @@
35 # # note: do not use := on both clang and llvm, it can match different
36 # # slots then. clang pulls llvm in, so we can skip the latter.
37 # RDEPEND="
38 -# >=sys-devel/clang-4:=[llvm_targets_AMDGPU(+)]
39 +# >=sys-devel/clang-6:=[llvm_targets_AMDGPU(+)]
40 # "
41 +# DEPEND=${RDEPEND}
42 #
43 # llvm_check_deps() {
44 # has_version "sys-devel/clang:${LLVM_SLOT}[llvm_targets_AMDGPU(+)]"
45 --
46 2.21.0

Replies

Subject Author
Re: [gentoo-dev] [PATCH 2/4] llvm.eclass: Update examples for newer LLVM versions "Haelwenn (lanodan) Monnier" <contact@×××××××××.me>