gnu: Add llvm-9, clang-9 and clang-toolchain-9.

* gnu/packages/llvm.scm (llvm-9): New variable.
(clang-runtime-9): New variable.
(clang-9): New variable.
(clang-toolchain-9): New variable.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
This commit is contained in:
David Truby 2019-11-19 17:15:42 +00:00 committed by Mathieu Othacehe
parent 30ebff69a7
commit 96d5a20607
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -458,6 +458,31 @@ (define-public clang
(define-public clang-toolchain (define-public clang-toolchain
(make-clang-toolchain clang)) (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 (define-public llvm-7
(package (package
(inherit llvm) (inherit llvm)