[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9
From: |
David Truby |
Subject: |
[bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9 |
Date: |
Tue, 19 Nov 2019 13:46:44 +0000 |
---
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 <address@hidden>
;;; Copyright © 2018 Pierre Neidhardt <address@hidden>
;;; Copyright © 2019 Rutger Helling <address@hidden>
-;;; Copyright © 2019 David Truby <address@hidden>
+;;; Copyright © 2019 Arm Ltd. <address@hidden>
;;; Copyright © 2019 Mathieu Othacehe <address@hidden>
;;;
;;; 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
- [bug#38268] [PATCH] Add llvm-9, clang-9 and clang-toolchain-9,
David Truby <=