gnu: python-llvmlite: Build against LLVM 7.

This is a follow-up to commit c5296e205b.

* gnu/packages/llvm.scm (llvm-7, clang-runtime-7, clang-7): New public variables.
(python-llvmlite)[inputs]: Inherit from LLVM-7 instead of LLVM.
This commit is contained in:
Marius Bakke 2019-06-28 20:53:20 +02:00
parent 4ee2cce327
commit 4289d1d71c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -371,6 +371,28 @@ (define-public clang
"0svk1f70hvpwrjp6x5i9kqwrqwxnmcrw5s7f4cxyd100mdd12k08"
#:patches '("clang-7.0-libc-search-path.patch")))
(define-public llvm-7
(package
(inherit llvm)
(version "7.0.1")
(source (origin
(method url-fetch)
(uri (string-append "https://llvm.org/releases/"
version "/llvm-" version ".src.tar.xz"))
(sha256
(base32
"16s196wqzdw4pmri15hadzqgdi926zln3an2viwyq0kini6zr3d3"))))))
(define-public clang-runtime-7
(clang-runtime-from-llvm
llvm-7
"065ybd8fsc4h2hikbdyricj6pyv4r7r7kpcikhb2y5zf370xybkq"))
(define-public clang-7
(clang-from-llvm llvm-7 clang-runtime
"067lwggnbg0w1dfrps790r5l6k8n5zwhlsw7zb6zvmfpwpfn4nx4"
#:patches '("clang-7.0-libc-search-path.patch")))
(define-public llvm-6
(package
(inherit llvm)
@ -542,9 +564,9 @@ (define-public python-llvmlite
(inputs
`(("llvm"
,(package
(inherit llvm)
(inherit llvm-7)
(source (origin
(inherit (package-source llvm))
(inherit (package-source llvm-7))
(patches
(list
(origin