[2/2] llvm: Update to 8.0.1

Submitted by Khem Raj on July 31, 2019, 5:48 p.m. | Patch ID: 163545

Details

Message ID 20190731174820.16459-2-raj.khem@gmail.com
State Master Next
Commit 0d7a8d96d4464bbf1a20fdf906fa7054393cfe59
Headers show

Commit Message

Khem Raj July 31, 2019, 5:48 p.m.
Add missing dependency on libedit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index 0067635c2b..6d3d69b9fb 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -8,7 +8,7 @@  SECTION = "devel"
 
 LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=c6b766a4e85dd28301eeed54a6684648"
 
-DEPENDS = "libffi libxml2 zlib ninja-native llvm-native"
+DEPENDS = "libffi libxml2 zlib libedit ninja-native llvm-native"
 
 RDEPENDS_${PN}_append_class-target = " ncurses-terminfo"
 
@@ -19,12 +19,12 @@  PROVIDES += "llvm${PV}"
 LLVM_RELEASE = "${PV}"
 LLVM_DIR = "llvm${LLVM_RELEASE}"
 
-SRCREV = "d2298e74235598f15594fe2c99bbac870a507c59"
+SRCREV = "19a71f6bdf2dddb10764939e7f0ec2b98dba76c9"
 
 BRANCH = "release/${MAJOR_VERSION}.x"
 MAJOR_VERSION = "8"
 MINOR_VERSION = "0"
-PATCH_VERSION = "0"
+PATCH_VERSION = "1"
 SOLIBVER = "1"
 PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
 SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \

Comments

Richard Purdie Aug. 3, 2019, 10:53 a.m.
On Wed, 2019-07-31 at 10:48 -0700, Khem Raj wrote:
> Add missing dependency on libedit
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-
> devtools/llvm/llvm_git.bb
> index 0067635c2b..6d3d69b9fb 100644
> --- a/meta/recipes-devtools/llvm/llvm_git.bb
> +++ b/meta/recipes-devtools/llvm/llvm_git.bb
> @@ -8,7 +8,7 @@ SECTION = "devel"
>  
>  LIC_FILES_CHKSUM =
> "file://LICENSE.TXT;md5=c6b766a4e85dd28301eeed54a6684648"
>  
> -DEPENDS = "libffi libxml2 zlib ninja-native llvm-native"
> +DEPENDS = "libffi libxml2 zlib libedit ninja-native llvm-native"
>  
>  RDEPENDS_${PN}_append_class-target = " ncurses-terminfo"
>  
> @@ -19,12 +19,12 @@ PROVIDES += "llvm${PV}"
>  LLVM_RELEASE = "${PV}"
>  LLVM_DIR = "llvm${LLVM_RELEASE}"
>  
> -SRCREV = "d2298e74235598f15594fe2c99bbac870a507c59"
> +SRCREV = "19a71f6bdf2dddb10764939e7f0ec2b98dba76c9"
>  
>  BRANCH = "release/${MAJOR_VERSION}.x"
>  MAJOR_VERSION = "8"
>  MINOR_VERSION = "0"
> -PATCH_VERSION = "0"
> +PATCH_VERSION = "1"

I had to tweak MESA_LLVM_RELEASE in the mesa recipe to match this
change...

(squashed into this patch in -next)

Cheers,

Richard
Khem Raj Aug. 3, 2019, 12:13 p.m.
Thanks for taking care of this I noticed this failure last night as well

On Sat, Aug 3, 2019 at 3:53 AM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Wed, 2019-07-31 at 10:48 -0700, Khem Raj wrote:
> > Add missing dependency on libedit
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-
> > devtools/llvm/llvm_git.bb
> > index 0067635c2b..6d3d69b9fb 100644
> > --- a/meta/recipes-devtools/llvm/llvm_git.bb
> > +++ b/meta/recipes-devtools/llvm/llvm_git.bb
> > @@ -8,7 +8,7 @@ SECTION = "devel"
> >
> >  LIC_FILES_CHKSUM =
> > "file://LICENSE.TXT;md5=c6b766a4e85dd28301eeed54a6684648"
> >
> > -DEPENDS = "libffi libxml2 zlib ninja-native llvm-native"
> > +DEPENDS = "libffi libxml2 zlib libedit ninja-native llvm-native"
> >
> >  RDEPENDS_${PN}_append_class-target = " ncurses-terminfo"
> >
> > @@ -19,12 +19,12 @@ PROVIDES += "llvm${PV}"
> >  LLVM_RELEASE = "${PV}"
> >  LLVM_DIR = "llvm${LLVM_RELEASE}"
> >
> > -SRCREV = "d2298e74235598f15594fe2c99bbac870a507c59"
> > +SRCREV = "19a71f6bdf2dddb10764939e7f0ec2b98dba76c9"
> >
> >  BRANCH = "release/${MAJOR_VERSION}.x"
> >  MAJOR_VERSION = "8"
> >  MINOR_VERSION = "0"
> > -PATCH_VERSION = "0"
> > +PATCH_VERSION = "1"
>
> I had to tweak MESA_LLVM_RELEASE in the mesa recipe to match this
> change...
>
> (squashed into this patch in -next)
>
> Cheers,
>
> Richard
>
>
Richard Purdie Aug. 3, 2019, 1:42 p.m.
On Sat, 2019-08-03 at 05:13 -0700, Khem Raj wrote:
> Thanks for taking care of this I noticed this failure last night as
> well 
> 
> On Sat, Aug 3, 2019 at 3:53 AM Richard Purdie <
> richard.purdie@linuxfoundation.org> wrote:
> > On Wed, 2019-07-31 at 10:48 -0700, Khem Raj wrote:
> > > Add missing dependency on libedit
> > > 
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > >  meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
> > >  1 file changed, 3 insertions(+), 3 deletions(-)
> > > 
> > > diff --git a/meta/recipes-devtools/llvm/llvm_git.bb
> > b/meta/recipes-
> > > devtools/llvm/llvm_git.bb
> > > index 0067635c2b..6d3d69b9fb 100644
> > > --- a/meta/recipes-devtools/llvm/llvm_git.bb
> > > +++ b/meta/recipes-devtools/llvm/llvm_git.bb
> > > @@ -8,7 +8,7 @@ SECTION = "devel"
> > >  
> > >  LIC_FILES_CHKSUM =
> > > "file://LICENSE.TXT;md5=c6b766a4e85dd28301eeed54a6684648"
> > >  
> > > -DEPENDS = "libffi libxml2 zlib ninja-native llvm-native"
> > > +DEPENDS = "libffi libxml2 zlib libedit ninja-native llvm-native"
> > >  
> > >  RDEPENDS_${PN}_append_class-target = " ncurses-terminfo"
> > >  
> > > @@ -19,12 +19,12 @@ PROVIDES += "llvm${PV}"
> > >  LLVM_RELEASE = "${PV}"
> > >  LLVM_DIR = "llvm${LLVM_RELEASE}"
> > >  
> > > -SRCREV = "d2298e74235598f15594fe2c99bbac870a507c59"
> > > +SRCREV = "19a71f6bdf2dddb10764939e7f0ec2b98dba76c9"
> > >  
> > >  BRANCH = "release/${MAJOR_VERSION}.x"
> > >  MAJOR_VERSION = "8"
> > >  MINOR_VERSION = "0"
> > > -PATCH_VERSION = "0"
> > > +PATCH_VERSION = "1"
> > 
> > I had to tweak MESA_LLVM_RELEASE in the mesa recipe to match this
> > change...
> > 
> > (squashed into this patch in -next)

Unfortunately there is still something else wrong:

https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/901

Cheers,

Richard
Khem Raj Aug. 3, 2019, 3:10 p.m.
On Sat, Aug 3, 2019 at 6:42 AM <richard.purdie@linuxfoundation.org> wrote:
>
> On Sat, 2019-08-03 at 05:13 -0700, Khem Raj wrote:
> > Thanks for taking care of this I noticed this failure last night as
> > well
> >
> > On Sat, Aug 3, 2019 at 3:53 AM Richard Purdie <
> > richard.purdie@linuxfoundation.org> wrote:
> > > On Wed, 2019-07-31 at 10:48 -0700, Khem Raj wrote:
> > > > Add missing dependency on libedit
> > > >
> > > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > > ---
> > > >  meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
> > > >  1 file changed, 3 insertions(+), 3 deletions(-)
> > > >
> > > > diff --git a/meta/recipes-devtools/llvm/llvm_git.bb
> > > b/meta/recipes-
> > > > devtools/llvm/llvm_git.bb
> > > > index 0067635c2b..6d3d69b9fb 100644
> > > > --- a/meta/recipes-devtools/llvm/llvm_git.bb
> > > > +++ b/meta/recipes-devtools/llvm/llvm_git.bb
> > > > @@ -8,7 +8,7 @@ SECTION = "devel"
> > > >
> > > >  LIC_FILES_CHKSUM =
> > > > "file://LICENSE.TXT;md5=c6b766a4e85dd28301eeed54a6684648"
> > > >
> > > > -DEPENDS = "libffi libxml2 zlib ninja-native llvm-native"
> > > > +DEPENDS = "libffi libxml2 zlib libedit ninja-native llvm-native"
> > > >
> > > >  RDEPENDS_${PN}_append_class-target = " ncurses-terminfo"
> > > >
> > > > @@ -19,12 +19,12 @@ PROVIDES += "llvm${PV}"
> > > >  LLVM_RELEASE = "${PV}"
> > > >  LLVM_DIR = "llvm${LLVM_RELEASE}"
> > > >
> > > > -SRCREV = "d2298e74235598f15594fe2c99bbac870a507c59"
> > > > +SRCREV = "19a71f6bdf2dddb10764939e7f0ec2b98dba76c9"
> > > >
> > > >  BRANCH = "release/${MAJOR_VERSION}.x"
> > > >  MAJOR_VERSION = "8"
> > > >  MINOR_VERSION = "0"
> > > > -PATCH_VERSION = "0"
> > > > +PATCH_VERSION = "1"
> > >
> > > I had to tweak MESA_LLVM_RELEASE in the mesa recipe to match this
> > > change...
> > >
> > > (squashed into this patch in -next)
>
> Unfortunately there is still something else wrong:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/901
>

something meson ... I wonder, I will see if I can reproduce it here on
top of master-next

| llvm-config found: NO need '>= 7.0.0'
| Run-time dependency LLVM found: NO (tried config-tool)
|
| meson.build:1253:2: ERROR: Dependency "llvm" not found, tried config-tool


> Cheers,
>
> Richard
>