summaryrefslogtreecommitdiff
path: root/gnu/packages/llvm.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2016-07-07 00:06:43 -0500
committerEric Bavier <bavier@member.fsf.org>2016-07-18 20:28:21 -0500
commit3ebc09057a082bc911ee11f45d6cc8b0f76edec6 (patch)
tree62a9a202747d2eeb1f207535f19f6226c465bdad /gnu/packages/llvm.scm
parentee0774305f3f814c5bef65864c0b3543097fb7fc (diff)
downloadpatches-3ebc09057a082bc911ee11f45d6cc8b0f76edec6.tar
patches-3ebc09057a082bc911ee11f45d6cc8b0f76edec6.tar.gz
gnu: llvm: Update to 3.7.1.
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 3.7.1 (llvm-3.6, clang-runtime-3.6, clang-3.6): New variables.
Diffstat (limited to 'gnu/packages/llvm.scm')
-rw-r--r--gnu/packages/llvm.scm29
1 files changed, 25 insertions, 4 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 103b93ee4a..65b0ef38ca 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -38,7 +38,7 @@
(define-public llvm
(package
(name "llvm")
- (version "3.6.2")
+ (version "3.7.1")
(source
(origin
(method url-fetch)
@@ -46,10 +46,10 @@
version "/llvm-" version ".src.tar.xz"))
(sha256
(base32
- "153vcvj8gvgwakzr4j0kndc0b7wn91c2g1vy2vg24s6spxcc23gn"))))
+ "1masakdp9g2dan1yrazg7md5am2vacbkb3nahb3dchpc1knr8xxy"))))
(build-system cmake-build-system)
(native-inputs
- `(("python" ,python-wrapper)
+ `(("python" ,python-2) ;bytes->str conversion in clang>=3.7 needs python-2
("perl" ,perl)))
(inputs
`(("libffi" ,libffi)
@@ -182,10 +182,31 @@ code analysis tools.")
(define-public clang-runtime
(clang-runtime-from-llvm
llvm
- "11qx8d3pbfqjaj2x207pvlvzihbs1z2xbw4crpz7aid6h1yz6bqg"))
+ "10c1mz2q4bdq9bqfgr3dirc6hz1h3sq8573srd5q5lr7m7j6jiwx"))
(define-public clang
(clang-from-llvm llvm clang-runtime
+ "0x065d0w9b51xvdjxwfzjxng0gzpbx45fgiaxpap45ragi61dqjn"))
+
+(define-public llvm-3.6
+ (package (inherit llvm)
+ (version "3.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://llvm.org/releases/"
+ version "/llvm-" version ".src.tar.xz"))
+ (sha256
+ (base32
+ "153vcvj8gvgwakzr4j0kndc0b7wn91c2g1vy2vg24s6spxcc23gn"))))))
+
+(define-public clang-runtime-3.6
+ (clang-runtime-from-llvm
+ llvm-3.6
+ "11qx8d3pbfqjaj2x207pvlvzihbs1z2xbw4crpz7aid6h1yz6bqg"))
+
+(define-public clang-3.6
+ (clang-from-llvm llvm-3.6 clang-runtime-3.6
"1wwr8s6lzr324hv4s1k6na4j5zv6n9kdhi14s4kb9b13d93814df"))
(define-public llvm-3.5