Update Julia to 0.4.6
This commit is contained in:
parent
c803f7ae98
commit
e398c0dc5b
1 changed files with 5 additions and 6 deletions
|
@ -32,10 +32,14 @@ class Julia(Package):
|
||||||
|
|
||||||
version('master',
|
version('master',
|
||||||
git='https://github.com/JuliaLang/julia.git', branch='master')
|
git='https://github.com/JuliaLang/julia.git', branch='master')
|
||||||
|
version('release-0.4',
|
||||||
|
git='https://github.com/JuliaLang/julia.git', branch='release-0.4')
|
||||||
|
version('0.4.6', 'd88db18c579049c23ab8ef427ccedf5d', preferred=True)
|
||||||
version('0.4.5', '69141ff5aa6cee7c0ec8c85a34aa49a6')
|
version('0.4.5', '69141ff5aa6cee7c0ec8c85a34aa49a6')
|
||||||
version('0.4.3', '8a4a59fd335b05090dd1ebefbbe5aaac')
|
version('0.4.3', '8a4a59fd335b05090dd1ebefbbe5aaac')
|
||||||
|
|
||||||
patch('gc.patch')
|
patch('gc.patch', when='@0.4:0.4.5')
|
||||||
|
patch('gc.patch', when='@release-0.4')
|
||||||
patch('openblas.patch', when='@0.4:0.4.5')
|
patch('openblas.patch', when='@0.4:0.4.5')
|
||||||
|
|
||||||
# Build-time dependencies:
|
# Build-time dependencies:
|
||||||
|
@ -92,11 +96,6 @@ class Julia(Package):
|
||||||
depends_on("mpi")
|
depends_on("mpi")
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
if '@master' in spec:
|
|
||||||
# Julia needs to know the offset from a specific commit
|
|
||||||
git = which('git')
|
|
||||||
git('fetch', '--unshallow')
|
|
||||||
|
|
||||||
# Explicitly setting CC, CXX, or FC breaks building libuv, one
|
# Explicitly setting CC, CXX, or FC breaks building libuv, one
|
||||||
# of Julia's dependencies. This might be a Darwin-specific
|
# of Julia's dependencies. This might be a Darwin-specific
|
||||||
# problem. Given how Spack sets up compilers, Julia should
|
# problem. Given how Spack sets up compilers, Julia should
|
||||||
|
|
Loading…
Reference in a new issue