petsc: use spack-built python for configure (#7176)
Make sure to use Spack-built python to run petsc configure script (in particular since petsc requires python@2.6:2.8)
This commit is contained in:
parent
deb1a93f81
commit
ec162e69b2
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ def install(self, spec, prefix):
|
|||
'--with-superlu_dist=0'
|
||||
)
|
||||
|
||||
configure('--prefix=%s' % prefix, *options)
|
||||
python('configure', '--prefix=%s' % prefix, *options)
|
||||
|
||||
# PETSc has its own way of doing parallel make.
|
||||
make('MAKE_NP=%s' % make_jobs, parallel=False)
|
||||
|
|
Loading…
Reference in a new issue