Skip to contentSkip to conversation

llvm: upgrade 9.0.1 -> 10.0.0

PATCH In review Trevor Gamblin 4 participants 7 messages May 27, 2020 – Jul 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 llvm: upgrade 9.0.1 -> 10.0.0

---
 meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/llvm/llvm_git.bb +3 -3
index d24ed761bf..787cc3adcf 100644
@@ -19,9 +19,9 @@ inherit cmake pkgconfig
 
 PROVIDES += "llvm${PV}"
 
-MAJOR_VERSION = "9"
+MAJOR_VERSION = "10"
 MINOR_VERSION = "0"
-PATCH_VERSION = "1"
+PATCH_VERSION = "0"
 
 PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
 
@@ -29,7 +29,7 @@ LLVM_RELEASE = "${PV}"
 LLVM_DIR = "llvm${LLVM_RELEASE}"
 
 BRANCH = "release/${MAJOR_VERSION}.x"
-SRCREV = "c1a0a213378a458fbea1a5c77b315c7dce08fd05"
+SRCREV = "d32170dbd5b0d54436537b6b75beaf44324e0c28"
 SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \
            file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \
            file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
Signature · 1 line
2.24.1
#1 lore raw
Quoted 11 lines · Trevor Gamblin
---
 meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/llvm/llvm_git.bb +0 -0
index d24ed761bf..787cc3adcf 100644

meta/recipes-devtools/llvm/llvm_git.bb inherit cmake pkgconfig · line 25

Quoted 9 lines
meta/recipes-devtools/llvm/llvm_git.bb +2 -2
@@ -19,9 +19,9 @@ inherit cmake pkgconfig
 
 PROVIDES += "llvm${PV}"
 
-MAJOR_VERSION = "9"
+MAJOR_VERSION = "10"
 MINOR_VERSION = "0"
-PATCH_VERSION = "1"
+PATCH_VERSION = "0"
 

It also needs updating LLVMVERSION in meta/conf/distro/include/tcmode-default.inc
secondly, I would suggest to wait for 10.0.1 which is releasing in a weeks time.

Quoted 15 lines
meta/recipes-devtools/llvm/llvm_git.bb +1 -2
 PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
 
@@ -29,7 +29,7 @@ LLVM_RELEASE = "${PV}"
 LLVM_DIR = "llvm${LLVM_RELEASE}"
 
 BRANCH = "release/${MAJOR_VERSION}.x"
-SRCREV = "c1a0a213378a458fbea1a5c77b315c7dce08fd05"
+SRCREV = "d32170dbd5b0d54436537b6b75beaf44324e0c28"
 SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \
            file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \
            file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
--

2.24.1

#2 lore raw
Quoted 15 lines · Khem Raj
Quoted 13 lines · Trevor Gamblin
---
  meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/llvm/llvm_git.bb +0 -0
index d24ed761bf..787cc3adcf 100644
@@ -19,9 +19,9 @@ inherit cmake pkgconfig
 
  PROVIDES += "llvm${PV}"
 
Quoted 9 lines

meta/recipes-devtools/llvm/llvm_git.bb inherit cmake pkgconfig · line 25

Quoted 6 lines
meta/recipes-devtools/llvm/llvm_git.bb +2 -2
-MAJOR_VERSION = "9"
+MAJOR_VERSION = "10"
  MINOR_VERSION = "0"
-PATCH_VERSION = "1"
+PATCH_VERSION = "0"
 

It also needs updating LLVMVERSION in meta/conf/distro/include/tcmode-default.inc
secondly, I would suggest to wait for 10.0.1 which is releasing in a weeks time.

Alright, I'll watch for that release.

Thanks!

Quoted 16 lines
Quoted 16 lines
meta/recipes-devtools/llvm/llvm_git.bb +1 -2
  PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
 
@@ -29,7 +29,7 @@ LLVM_RELEASE = "${PV}"
  LLVM_DIR = "llvm${LLVM_RELEASE}"
 
  BRANCH = "release/${MAJOR_VERSION}.x"
-SRCREV = "c1a0a213378a458fbea1a5c77b315c7dce08fd05"
+SRCREV = "d32170dbd5b0d54436537b6b75beaf44324e0c28"
  SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \
             file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \
             file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
--

2.24.1

#3 lore raw

Llvm 10.0.1 is now out, please rebase and resend the patches :)

Alex

Quoted 55 lines · Trevor Gamblin
Quoted 8 lines · Khem Raj

Review

Quoted 6 lines · Trevor Gamblin
---
  meta/recipes-devtools/llvm/llvm_git.bb | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/meta/recipes-devtools/llvm/llvm_git.bb

Quoted 7 lines
Quoted 7 lines

index d24ed761bf..787cc3adcf 100644

meta/recipes-devtools/llvm/llvm_git.bb +0 -0
@@ -19,9 +19,9 @@ inherit cmake pkgconfig
 
  PROVIDES += "llvm${PV}"
 
Quoted 9 lines

meta/recipes-devtools/llvm/llvm_git.bb inherit cmake pkgconfig · line 25

Quoted 6 lines
meta/recipes-devtools/llvm/llvm_git.bb +2 -2
-MAJOR_VERSION = "9"
+MAJOR_VERSION = "10"
  MINOR_VERSION = "0"
-PATCH_VERSION = "1"
+PATCH_VERSION = "0"
 

It also needs updating LLVMVERSION in meta/conf/distro/include/tcmode-default.inc
secondly, I would suggest to wait for 10.0.1 which is releasing in a

weeks time.

Alright, I'll watch for that release.

Thanks!

Quoted 10 lines

meta/recipes-devtools/llvm/llvm_git.bb LLVM_RELEASE = "${PV}" · line 33

Quoted 10 lines
meta/recipes-devtools/llvm/llvm_git.bb +1 -1
  PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
 
@@ -29,7 +29,7 @@ LLVM_RELEASE = "${PV}"
  LLVM_DIR = "llvm${LLVM_RELEASE}"
 
  BRANCH = "release/${MAJOR_VERSION}.x"
-SRCREV = "c1a0a213378a458fbea1a5c77b315c7dce08fd05"
+SRCREV = "d32170dbd5b0d54436537b6b75beaf44324e0c28"
  SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH}

<http://github.com/llvm/llvm-project.git;branch=$%7BBRANCH%7D> \

Quoted 1 line
Quoted 1 line

file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \

Quoted 1 line
Quoted 1 line

file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \

Quoted 4 lines
Quoted 4 lines

--
2.24.1

#4 lore raw

Per release notes, riscv is now supported.
https://releases.llvm.org/10.0.0/docs/ReleaseNotes.html#changes-to-the-risc-v-target

If you have time, can you also double check Riscv so these two can be removed, if not maybe we can wait until this is in core.

|

COMPATIBLE_HOST_riscv64 = "null"
COMPATIBLE_HOST_riscv32 = "null"|

There is a qemuriscv64 machine in core.

-armin

Quoted 69 lines · Alexander Kanavin

Llvm 10.0.1 is now out, please rebase and resend the patches :)

Alex

On Fri, 29 May 2020 at 15:30, Trevor Gamblin <[email protected] <mailto:[email protected]>> wrote:

    On 5/28/20 9:57 PM, Khem Raj wrote:
    > On Wed, May 27, 2020 at 6:48 AM Trevor Gamblin
    > <[email protected]
    <mailto:[email protected]>> wrote:
    >> Signed-off-by: Trevor Gamblin <[email protected]
    <mailto:[email protected]>>
    >> ---
    >>   meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb> |
    6 +++---
    >>   1 file changed, 3 insertions(+), 3 deletions(-)
    >>
    >> diff --git a/meta/recipes-devtools/llvm/llvm_git.bb
    <http://llvm_git.bb> b/meta/recipes-devtools/llvm/llvm_git.bb
    <http://llvm_git.bb>
    >> index d24ed761bf..787cc3adcf 100644
    >> --- a/meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb>
    >> +++ b/meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb>
    >> @@ -19,9 +19,9 @@ inherit cmake pkgconfig
    >>
    >>   PROVIDES += "llvm${PV}"
    >>
    >> -MAJOR_VERSION = "9"
    >> +MAJOR_VERSION = "10"
    >>   MINOR_VERSION = "0"
    >> -PATCH_VERSION = "1"
    >> +PATCH_VERSION = "0"
    >>
    > It also needs updating LLVMVERSION in
    > meta/conf/distro/include/tcmode-default.inc
    > secondly, I would suggest to wait for 10.0.1 which is releasing
    in a weeks time.

    Alright, I'll watch for that release.

    Thanks!

    >
    >>   PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
    >>
    >> @@ -29,7 +29,7 @@ LLVM_RELEASE = "${PV}"
    >>   LLVM_DIR = "llvm${LLVM_RELEASE}"
    >>
    >>   BRANCH = "release/${MAJOR_VERSION}.x"
    >> -SRCREV = "c1a0a213378a458fbea1a5c77b315c7dce08fd05"
    >> +SRCREV = "d32170dbd5b0d54436537b6b75beaf44324e0c28"
    >>   SRC_URI =
    "git://github.com/llvm/llvm-project.git;branch=${BRANCH}
    <http://github.com/llvm/llvm-project.git;branch=$%7BBRANCH%7D> \
    >>             
    file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2
    \
    >>             
    file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
    >> --
    >> 2.24.1
    >>
    >>
#5 lore raw
Quoted 10 lines · On 7/25/20 10:58 AM, akuster808 wrote:

Per release notes, riscv is now supported.
https://releases.llvm.org/10.0.0/docs/ReleaseNotes.html#changes-to-the-risc-v-target

If you have time, can you also double check Riscv so these two can be removed, if not maybe we can wait until this is in core.

|

COMPATIBLE_HOST_riscv64  =  "null"
COMPATIBLE_HOST_riscv32  =  "null"|

There is a qemuriscv64 machine in core.

llvm broke during do_compile when I tested it against qemuriscv64. I'll submit the upgrade patch and look into the riscv targets issue as a separate patch.

Trevor

Quoted 72 lines

-armin

Quoted 67 lines · Alexander Kanavin

Llvm 10.0.1 is now out, please rebase and resend the patches :)

Alex

On Fri, 29 May 2020 at 15:30, Trevor Gamblin <[email protected] <mailto:[email protected]>> wrote:

    On 5/28/20 9:57 PM, Khem Raj wrote:
    > On Wed, May 27, 2020 at 6:48 AM Trevor Gamblin
    > <[email protected]
    <mailto:[email protected]>> wrote:
    >> Signed-off-by: Trevor Gamblin <[email protected]
    <mailto:[email protected]>>
    >> ---
    >>   meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb>
    | 6 +++---
    >>   1 file changed, 3 insertions(+), 3 deletions(-)
    >>
    >> diff --git a/meta/recipes-devtools/llvm/llvm_git.bb
    <http://llvm_git.bb> b/meta/recipes-devtools/llvm/llvm_git.bb
    <http://llvm_git.bb>
    >> index d24ed761bf..787cc3adcf 100644
    >> --- a/meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb>
    >> +++ b/meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb>
    >> @@ -19,9 +19,9 @@ inherit cmake pkgconfig
    >>
    >>   PROVIDES += "llvm${PV}"
    >>
    >> -MAJOR_VERSION = "9"
    >> +MAJOR_VERSION = "10"
    >>   MINOR_VERSION = "0"
    >> -PATCH_VERSION = "1"
    >> +PATCH_VERSION = "0"
    >>
    > It also needs updating LLVMVERSION in
    > meta/conf/distro/include/tcmode-default.inc
    > secondly, I would suggest to wait for 10.0.1 which is releasing
    in a weeks time.

    Alright, I'll watch for that release.

    Thanks!

    >
    >>   PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
    >>
    >> @@ -29,7 +29,7 @@ LLVM_RELEASE = "${PV}"
    >>   LLVM_DIR = "llvm${LLVM_RELEASE}"
    >>
    >>   BRANCH = "release/${MAJOR_VERSION}.x"
    >> -SRCREV = "c1a0a213378a458fbea1a5c77b315c7dce08fd05"
    >> +SRCREV = "d32170dbd5b0d54436537b6b75beaf44324e0c28"
    >>   SRC_URI =
    "git://github.com/llvm/llvm-project.git;branch=${BRANCH}
    <http://github.com/llvm/llvm-project.git;branch=$%7BBRANCH%7D> \
    >>
    file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2
    \
    >>
    file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
    >> --
    >> 2.24.1
    >>
    >>
#6 lore raw
Quoted 13 lines · Trevor Gamblin
Quoted 10 lines · On 7/25/20 10:58 AM, akuster808 wrote:

Per release notes, riscv is now supported.
https://releases.llvm.org/10.0.0/docs/ReleaseNotes.html#changes-to-the-risc-v-target

If you have time, can you also double check Riscv so these two can be removed, if not maybe we can wait until this is in core.

|
COMPATIBLE_HOST_riscv64 = "null"
COMPATIBLE_HOST_riscv32 = "null"|

Quoted 6 lines
Quoted 1 line

There is a qemuriscv64 machine in core.

llvm broke during do_compile when I tested it against qemuriscv64. I'll submit the upgrade patch and look into the riscv targets issue as a separate patch.

Ah, ok. Thanks for checking.  sounds reasonable.

thanks,
Armin

Quoted 77 lines

Trevor

Quoted 74 lines

-armin

Quoted 69 lines · Alexander Kanavin

Llvm 10.0.1 is now out, please rebase and resend the patches :)

Alex

On Fri, 29 May 2020 at 15:30, Trevor Gamblin <[email protected] <mailto:[email protected]>> wrote:

    On 5/28/20 9:57 PM, Khem Raj wrote:
    > On Wed, May 27, 2020 at 6:48 AM Trevor Gamblin
    > <[email protected]
    <mailto:[email protected]>> wrote:
    >> Signed-off-by: Trevor Gamblin <[email protected]
    <mailto:[email protected]>>
    >> ---
    >>   meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb>
    | 6 +++---
    >>   1 file changed, 3 insertions(+), 3 deletions(-)
    >>
    >> diff --git a/meta/recipes-devtools/llvm/llvm_git.bb
    <http://llvm_git.bb> b/meta/recipes-devtools/llvm/llvm_git.bb
    <http://llvm_git.bb>
    >> index d24ed761bf..787cc3adcf 100644
    >> --- a/meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb>
    >> +++ b/meta/recipes-devtools/llvm/llvm_git.bb <http://llvm_git.bb>
    >> @@ -19,9 +19,9 @@ inherit cmake pkgconfig
    >>
    >>   PROVIDES += "llvm${PV}"
    >>
    >> -MAJOR_VERSION = "9"
    >> +MAJOR_VERSION = "10"
    >>   MINOR_VERSION = "0"
    >> -PATCH_VERSION = "1"
    >> +PATCH_VERSION = "0"
    >>
    > It also needs updating LLVMVERSION in
    > meta/conf/distro/include/tcmode-default.inc
    > secondly, I would suggest to wait for 10.0.1 which is
    releasing in a weeks time.

    Alright, I'll watch for that release.

    Thanks!

    >
    >>   PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
    >>
    >> @@ -29,7 +29,7 @@ LLVM_RELEASE = "${PV}"
    >>   LLVM_DIR = "llvm${LLVM_RELEASE}"
    >>
    >>   BRANCH = "release/${MAJOR_VERSION}.x"
    >> -SRCREV = "c1a0a213378a458fbea1a5c77b315c7dce08fd05"
    >> +SRCREV = "d32170dbd5b0d54436537b6b75beaf44324e0c28"
    >>   SRC_URI =
    "git://github.com/llvm/llvm-project.git;branch=${BRANCH}
    <http://github.com/llvm/llvm-project.git;branch=$%7BBRANCH%7D> \
    >>             
    file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2
    \
    >>             
    file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
    >> --
    >> 2.24.1
    >>
    >>