arpack: fix for +mpi variant
This commit is contained in:
parent
e32eb7e990
commit
6eb97a30a3
@ -50,7 +50,10 @@ def install(self, spec, prefix):
|
|||||||
options = ['--prefix=%s' % prefix]
|
options = ['--prefix=%s' % prefix]
|
||||||
|
|
||||||
if '+mpi' in spec:
|
if '+mpi' in spec:
|
||||||
options.append('--enable-mpi')
|
options.extend([
|
||||||
|
'--enable-mpi',
|
||||||
|
'F77=mpif77' #FIXME: avoid hardcoding MPI wrapper names
|
||||||
|
])
|
||||||
|
|
||||||
if '~shared' in spec:
|
if '~shared' in spec:
|
||||||
options.append('--enable-shared=no')
|
options.append('--enable-shared=no')
|
||||||
|
Loading…
Reference in New Issue
Block a user