all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
@ 2019-11-19 13:46 David Truby
  2019-11-19 15:58 ` Mathieu Othacehe
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Truby @ 2019-11-19 13:46 UTC (permalink / raw)
  To: 38268; +Cc: nd, David Truby

---
 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 <tim.gesthuizen@yahoo.de>
 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
-;;; Copyright © 2019 David Truby <David.Truby@arm.com>
+;;; Copyright © 2019 Arm Ltd. <David.Truby@arm.com>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;;
 ;;; 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-20 16:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-19 13:46 [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9 David Truby
2019-11-19 15:58 ` Mathieu Othacehe
2019-11-19 16:00   ` David Truby
2019-11-19 17:15 ` David Truby
2019-11-20 16:10   ` Mathieu Othacehe
2019-11-20 12:02 ` David Truby

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.