py-mpi4py: Added build argument for mpicc path (#12191)
* added build arguments to resolve error with Cray-MPICH * fixed indentation
This commit is contained in:
parent
53bd964a59
commit
ff15f61443
1 changed files with 3 additions and 0 deletions
|
@ -26,3 +26,6 @@ class PyMpi4py(PythonPackage):
|
|||
depends_on('py-setuptools', type='build')
|
||||
depends_on('mpi')
|
||||
depends_on('py-cython', when='@develop', type='build')
|
||||
|
||||
def build_args(self, spec, prefix):
|
||||
return ['--mpicc=%s -shared' % spec['mpi'].mpicc]
|
||||
|
|
Loading…
Reference in a new issue