unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: David Truby <David.Truby@arm.com>
To: 38268@debbugs.gnu.org
Cc: nd@arm.com, David.Truby@arm.com
Subject: [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
Date: Wed, 20 Nov 2019 12:02:39 +0000	[thread overview]
Message-ID: <20191120120222.31844-1-david.truby@arm.com> (raw)
In-Reply-To: <20191119134620.17085-1-david.truby@arm.com>

* 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

      parent reply	other threads:[~2019-11-20 12:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191120120222.31844-1-david.truby@arm.com \
    --to=david.truby@arm.com \
    --cc=38268@debbugs.gnu.org \
    --cc=nd@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).