Fixed DIY package missing MPI dependency (#14704)
This commit is contained in:
parent
c029c8ff89
commit
b7ee2d02e4
1 changed files with 5 additions and 1 deletions
|
@ -16,6 +16,10 @@ class Diy(CMakePackage):
|
||||||
version('3.5.0', sha256='b3b5490441d521b6e9b33471c782948194bf95c7c3df3eb97bc5cf4530b91576')
|
version('3.5.0', sha256='b3b5490441d521b6e9b33471c782948194bf95c7c3df3eb97bc5cf4530b91576')
|
||||||
version('master', branch='master')
|
version('master', branch='master')
|
||||||
|
|
||||||
|
depends_on('mpi')
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
args = ['-Dbuild_examples=off', '-Dbuild_tests=off']
|
args = ['-Dbuild_examples=off',
|
||||||
|
'-Dbuild_tests=off',
|
||||||
|
'-DCMAKE_CXX_COMPILER=%s' % self.spec['mpi'].mpicxx]
|
||||||
return args
|
return args
|
||||||
|
|
Loading…
Reference in a new issue