updating mfem version (#4362)
* updating mfem version * changing mfem tarball extension to .tar.gz
This commit is contained in:
parent
af77f811f2
commit
e85113faf6
1 changed files with 5 additions and 3 deletions
|
@ -50,6 +50,10 @@ class Mfem(Package):
|
||||||
# If this quick verification procedure fails, additional discussion
|
# If this quick verification procedure fails, additional discussion
|
||||||
# will be required to verify the new version.
|
# will be required to verify the new version.
|
||||||
|
|
||||||
|
version('3.3',
|
||||||
|
'b17bd452593aada93dc0fee748fcfbbf4f04ce3e7d77fdd0341cc9103bcacd0b',
|
||||||
|
url='http://goo.gl/Vrpsns', extension='.tar.gz')
|
||||||
|
|
||||||
version('3.2',
|
version('3.2',
|
||||||
'2938c3deed4ec4f7fd5b5f5cfe656845282e86e2dcd477d292390058b7b94340',
|
'2938c3deed4ec4f7fd5b5f5cfe656845282e86e2dcd477d292390058b7b94340',
|
||||||
url='http://goo.gl/Y9T75B', extension='.tar.gz')
|
url='http://goo.gl/Y9T75B', extension='.tar.gz')
|
||||||
|
@ -173,9 +177,7 @@ def install(self, spec, prefix):
|
||||||
ss_lib += (' -lumfpack -lcholmod -lcolamd' +
|
ss_lib += (' -lumfpack -lcholmod -lcolamd' +
|
||||||
' -lamd -lcamd -lccolamd -lsuitesparseconfig')
|
' -lamd -lcamd -lccolamd -lsuitesparseconfig')
|
||||||
|
|
||||||
no_librt_archs = ['darwin-i686', 'darwin-x86_64']
|
no_rt = spec.satisfies('platform=darwin')
|
||||||
no_rt = any(map(lambda a: spec.satisfies('=' + a),
|
|
||||||
no_librt_archs))
|
|
||||||
if not no_rt:
|
if not no_rt:
|
||||||
ss_lib += ' -lrt'
|
ss_lib += ' -lrt'
|
||||||
ss_lib += (' ' + metis_lib + ' ' + lapack_lib)
|
ss_lib += (' ' + metis_lib + ' ' + lapack_lib)
|
||||||
|
|
Loading…
Reference in a new issue