Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 2/4] llvm.eclass: Update examples for newer LLVM versions
Date: Tue, 30 Apr 2019 17:13:31
Message-Id: 4c7b3db94427ac862f2878514972dfa3ed3fb212.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 2/4] llvm.eclass: Update examples for newer LLVM versions by "Haelwenn (lanodan) Monnier"
1 On Tue, 2019-04-30 at 18:57 +0200, Haelwenn (lanodan) Monnier wrote:
2 > [2019-04-30 07:38:56+0200] Michał Górny:
3 > > Signed-off-by: Michał Górny <mgorny@g.o>
4 > > ---
5 > > eclass/llvm.eclass | 12 +++++++-----
6 > > 1 file changed, 7 insertions(+), 5 deletions(-)
7 > >
8 > > diff --git a/eclass/llvm.eclass b/eclass/llvm.eclass
9 > > index 618a924bbb87..e4052a6400c0 100644
10 > > --- a/eclass/llvm.eclass
11 > > +++ b/eclass/llvm.eclass
12 > > @@ -17,18 +17,19 @@
13 > > # a proper dependency string yourself to guarantee that appropriate
14 > > # version of LLVM is installed.
15 > > #
16 > > -# Example use for a package supporting LLVM 3.8 to 5:
17 > > +# Example use for a package supporting LLVM 5 to 7:
18 > > # @CODE
19 > > # inherit cmake-utils llvm
20 > > #
21 > > # RDEPEND="
22 > > -# <sys-devel/llvm-6:=
23 > > +# <sys-devel/llvm-8:=
24 > > # || (
25 > > +# sys-devel/llvm:7
26 > > +# sys-devel/llvm:6
27 > > # sys-devel/llvm:5
28 > > -# sys-devel/llvm:4
29 > > -# >=sys-devel/llvm-3.8:0
30 > > # )
31 > > # "
32 > > +# DEPEND=${RDEPEND}
33 > > #
34 > > # LLVM_MAX_SLOT=5
35 >
36 > Shouldn’t LLVM_MAX_SLOT be set to 7 as well?
37 >
38
39 Indeed. Thanks for catching that.
40
41 --
42 Best regards,
43 Michał Górny