Subject: bug#38268: closed (Re: [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 20 Nov 2019 16:11:02 +0000

Your bug report

#38268: [PATCH] Add llvm-9, clang-9 and clang-toolchain-9

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
38268: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38268
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
From: Mathieu Othacehe <[email-masked]>
To: [email-masked]
Cc: "[email-masked]" <[email-masked]>, nd <[email-masked]>, David Truby <[email-masked]>
Date: Wed, 20 Nov 2019 17:10:07 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hey David,

Pushed with a slightly edited commit title.

Thanks,

Mathieu

Subject: [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
From: David Truby <[email-masked]>
To: "[email-masked]" <[email-masked]>
Cc: nd <[email-masked]>, David Truby <[email-masked]>
Date: Tue, 19 Nov 2019 13:46:44 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 gnu/packages/llvm.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index a5170a4f10..c1bb1937a5 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2018 Tim Gesthuizen <[email-masked]>
 ;;; Copyright © 2018 Pierre Neidhardt <[email-masked]>
 ;;; Copyright © 2019 Rutger Helling <[email-masked]>
-;;; Copyright © 2019 David Truby <[email-masked]>
+;;; Copyright © 2019 Arm Ltd. <[email-masked]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -458,6 +458,30 @@ with that of libgomp, the GNU Offloading and Multi Processing Library.")
 (define-public clang-toolchain
   (make-clang-toolchain clang))
 
+(define-public llvm-9
+  (package
+    (inherit llvm)
+    (version "9.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://llvm.org/releases/"
+                                  version "/llvm-" version ".src.tar.xz"))
+              (sha256
+               (base32
+                "117ymdz1by2nkfq1c2p9m4050dp848kbjbiv6nsfj8hzy9f5d86n"))))))
+
+(define-public clang-runtime-9
+  (clang-runtime-from-llvm
+   llvm-9
+   "03ni43lbkp63lr3p6sc94dphqmvnz5av5mml0xmk930xvnbcvr2n"))
+
+(define-public clang-9
+  (clang-from-llvm llvm-9 clang-runtime-9
+                   "0426ma80i41qsgzm1qdz81mjskck426diygxi2k5vji2gkpixa3v"))
+
+(define-public clang-toolchain-9
+  (make-clang-toolchain clang-9))
+
 (define-public llvm-7
   (package
     (inherit llvm)
-- 
2.24.0