* [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
* [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
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 12:02 ` David Truby
2 siblings, 1 reply; 6+ messages in thread
From: Mathieu Othacehe @ 2019-11-19 15:58 UTC (permalink / raw)
To: 38268; +Cc: nd, David.Truby
Hello David,
This patch LGTM. However, you need to write a commit log compliant with
ChangeLog format. See:
https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html.
Can you please send a v2 :) ?
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
2019-11-19 15:58 ` Mathieu Othacehe
@ 2019-11-19 16:00 ` David Truby
0 siblings, 0 replies; 6+ messages in thread
From: David Truby @ 2019-11-19 16:00 UTC (permalink / raw)
To: m.othacehe, 38268; +Cc: nd
Hi Mathieu,
Sorry, I'll read up on the correct format for commit messages and then
send again :).
I also just realised the license has changed for LLVM-9 so I need to
change that in the package too!
David
On Tue, 2019-11-19 at 16:58 +0100, Mathieu Othacehe wrote:
> Hello David,
>
> This patch LGTM. However, you need to write a commit log compliant
> with
> ChangeLog format. See:
> https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html.
>
> Can you please send a v2 :) ?
>
> Thanks,
>
> Mathieu
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
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 17:15 ` David Truby
2019-11-20 16:10 ` Mathieu Othacehe
2019-11-20 12:02 ` David Truby
2 siblings, 1 reply; 6+ messages in thread
From: David Truby @ 2019-11-19 17:15 UTC (permalink / raw)
To: 38268@debbugs.gnu.org; +Cc: nd, David Truby
* gnu/packages/llvm.scm (llvm-9): New variable.
(clang-9): New variable.
(clang-toolchain-9): New variable.
---
gnu/packages/llvm.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 863d43d7d6..082e6e96ca 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -458,6 +458,31 @@ 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"))))
+ (license license:asl2.0)))
+
+(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
* [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
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 17:15 ` David Truby
@ 2019-11-20 12:02 ` David Truby
2 siblings, 0 replies; 6+ messages in thread
From: David Truby @ 2019-11-20 12:02 UTC (permalink / raw)
To: 38268; +Cc: nd, David.Truby
* gnu/packages/llvm.scm (llvm-9): New variable.
(clang-9): New variable.
(clang-toolchain-9): New variable.
---
gnu/packages/llvm.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 863d43d7d6..082e6e96ca 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -458,6 +458,31 @@ 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"))))
+ (license license:asl2.0)))
+
+(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.