aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/julia.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-07-20 11:12:31 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-07-21 10:33:59 +0200
commit5ff0edaee6942a21d20624aade41a228932fb372 (patch)
treee6b3975e6ffe5c525f0b268fc0c9f8781b17df96 /gnu/packages/julia.scm
parent61ee4fdf05cf866c2c8b0d056104451e798d6567 (diff)
downloadguix-5ff0edaee6942a21d20624aade41a228932fb372.tar
guix-5ff0edaee6942a21d20624aade41a228932fb372.tar.gz
gnu: julia: Update to 0.3.10.
* gnu/packages/julia.scm (julia): Update to 0.3.10. * gnu/packages/patches/julia-0.3.10-fix-empty-array.patch: New file. * gnu-system.am (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/julia.scm')
-rw-r--r--gnu/packages/julia.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 4473109f4a..fc152c8720 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -41,15 +41,16 @@
(define-public julia
(package
(name "julia")
- (version "0.3.6")
+ (version "0.3.10")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/JuliaLang/julia/releases/download/v"
- version "/julia-" version "_0c24dca65c.tar.gz"))
+ version "/julia-" version "_c8ceeefcc1.tar.gz"))
(sha256
(base32
- "1hnbc2blzr9bc27m3vsr127fhg0h5imgqlrx00jakf0my0ccw8gr"))))
+ "0j6mw6wr35lxid10nh9gz7k6wck3a90ic92w99n1r052325gl9r7"))
+ (patches (list (search-patch "julia-0.3.10-fix-empty-array.patch")))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
@@ -92,6 +93,14 @@
("fftw" "libfftw3" "libfftw3.so")
("fftwf" "libfftw3f" "libfftw3f.so"))))))
#t))
+ ;; This phase will no longer be necessary in 0.3.11; see
+ ;; https://github.com/JuliaLang/julia/issues/12028
+ (add-before
+ 'build 'fix-building-with-mcjit-llvm
+ (lambda _
+ (substitute* "src/cgutils.cpp"
+ (("addComdat\\(gv\\);") ""))
+ #t))
(add-before
'build 'patch-include-path
(lambda _