arpack: fix for +mpi variant

This commit is contained in:
Denis Davydov 2016-03-22 14:24:27 +01:00
parent e32eb7e990
commit 6eb97a30a3

View File

@ -50,7 +50,10 @@ def install(self, spec, prefix):
options = ['--prefix=%s' % prefix]
if '+mpi' in spec:
options.append('--enable-mpi')
options.extend([
'--enable-mpi',
'F77=mpif77' #FIXME: avoid hardcoding MPI wrapper names
])
if '~shared' in spec:
options.append('--enable-shared=no')