Subject: Re: [bug#67625] Subject: [PATCH] gnu: LLVM, Clang, libomp, lld: Update to 17.0.6.

From: Michael Ford <[email-masked]>
Date: Tue, 5 Dec 2023 10:49:29 +0000

It should. Forgot about this, and then only built LLVM, not a full
Clang toolchain.
Have done that now. Updated patch below:

>From 10fa8bf8d5eeebdb4fcf0142617af2f54e43beb5 Mon Sep 17 00:00:00 2001
From: fanquake <[email-masked]>
Date: Mon, 4 Dec 2023 14:07:15 +0000
Subject: [PATCH] gnu: LLVM, Clang, libomp, lld: Update to 17.0.6.

* gnu/packages/llvm.scm (llvm-17, clang-17, libomp-17, lld-17):
Update to 17.0.6.
---
 gnu/packages/llvm.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 56e2279f69..08536fc865 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -603,13 +603,13 @@ (define %llvm-monorepo-hashes
   '(("14.0.6" . "14f8nlvnmdkp9a9a79wv67jbmafvabczhah8rwnqrgd5g3hfxxxx")
     ("15.0.7" . "12sggw15sxq1krh1mfk3c1f07h895jlxbcifpwk3pznh4m1rjfy2")
     ("16.0.6" . "0jxmapg7shwkl88m4mqgfjv4ziqdmnppxhjz6vz51ycp2x4nmjky")
-    ("17.0.5" . "149flpr96vcn7a1ckya6mm93m9yp85l47w156fjd0r99ydxrw5kv")))
+    ("17.0.6" . "1a7rq3rgw5vxm8y39fyzr4kv7w97lli4a0c1qrkchwk8p0n07hgh")))

 (define %llvm-patches
   '(("14.0.6" . ("clang-14.0-libc-search-path.patch"))
     ("15.0.7" . ("clang-15.0-libc-search-path.patch"))
     ("16.0.6" . ("clang-16.0-libc-search-path.patch"))
-    ("17.0.5" . ("clang-17.0-libc-search-path.patch"))))
+    ("17.0.6" . ("clang-17.0-libc-search-path.patch"))))

 (define (llvm-monorepo version)
   (origin
@@ -1502,7 +1502,7 @@ (define-public clang-toolchain-16
 (define-public llvm-17
   (package
     (inherit llvm-15)
-    (version "17.0.5")
+    (version "17.0.6")
     (source (llvm-monorepo version))))

 (define-public clang-runtime-17
@@ -1518,7 +1518,7 @@ (define-public clang-17
                     (package-version llvm-17)))
      (sha256
       (base32
-       "12dbp10bhq25a44qnvz978mf9y6pdycwpp7sgq8a93by0fpgb72r")))))
+       "1f8szx762c325916gjxb5lw7zxyidynwnvx6fxxqscsx8514cxxa")))))

 (define-public libomp-17
   (package
-- 
2.43.0

On Mon, 4 Dec 2023 at 18:41, Greg Hogan <[email-masked]> wrote:
>
> On Mon, Dec 4, 2023 at 11:21 AM Michael Ford <[email-masked]> wrote:
> >
> > From 52ca0b1749fcb845f8015a33364beae489c08bf4 Mon Sep 17 00:00:00 2001
> > From: fanquake <[email-masked]>
> > Date: Mon, 4 Dec 2023 14:07:15 +0000
> > Subject: [PATCH] gnu: LLVM, Clang, libomp, lld: Update to 17.0.6.
> >
> > * gnu/packages/llvm.scm (llvm-17, clang-17, libomp-17, lld-17):
> > Update to 17.0.6.
> > ---
> >  gnu/packages/llvm.scm | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
> > index 56e2279f69..610020b5c5 100644
> > --- a/gnu/packages/llvm.scm
> > +++ b/gnu/packages/llvm.scm
> > @@ -603,13 +603,13 @@ (define %llvm-monorepo-hashes
> >    '(("14.0.6" . "14f8nlvnmdkp9a9a79wv67jbmafvabczhah8rwnqrgd5g3hfxxxx")
> >      ("15.0.7" . "12sggw15sxq1krh1mfk3c1f07h895jlxbcifpwk3pznh4m1rjfy2")
> >      ("16.0.6" . "0jxmapg7shwkl88m4mqgfjv4ziqdmnppxhjz6vz51ycp2x4nmjky")
> > -    ("17.0.5" . "149flpr96vcn7a1ckya6mm93m9yp85l47w156fjd0r99ydxrw5kv")))
> > +    ("17.0.6" . "1a7rq3rgw5vxm8y39fyzr4kv7w97lli4a0c1qrkchwk8p0n07hgh")))
> >
> >  (define %llvm-patches
> >    '(("14.0.6" . ("clang-14.0-libc-search-path.patch"))
> >      ("15.0.7" . ("clang-15.0-libc-search-path.patch"))
> >      ("16.0.6" . ("clang-16.0-libc-search-path.patch"))
> > -    ("17.0.5" . ("clang-17.0-libc-search-path.patch"))))
> > +    ("17.0.6" . ("clang-17.0-libc-search-path.patch"))))
> >
> >  (define (llvm-monorepo version)
> >    (origin
> > @@ -1502,7 +1502,7 @@ (define-public clang-toolchain-16
> >  (define-public llvm-17
> >    (package
> >      (inherit llvm-15)
> > -    (version "17.0.5")
> > +    (version "17.0.6")
> >      (source (llvm-monorepo version))))
> >
> >  (define-public clang-runtime-17
> > --
> > 2.43.0
>
> Should this also update the clang-tools-extra hash?