py-mpi4py: fix install_options (#28759)
This commit is contained in:
parent
172ec0e3a1
commit
caa1a5cec7
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class PyMpi4py(PythonPackage):
|
|||
depends_on('py-cython@0.27.0:', when='@master', type='build')
|
||||
depends_on('py-3to2', when='@3.1: ^python@:2', type='build')
|
||||
|
||||
@when('@3.1:')
|
||||
def install_options(self, spec, prefix):
|
||||
return ['--mpicc=%s -shared' % spec['mpi'].mpicc]
|
||||
|
||||
|
|
Loading…
Reference in a new issue