fix petsc int64 metis dependencies (#7195)

This commit is contained in:
David Gardner 2018-02-09 06:29:10 -05:00 committed by Massimiliano Culpo
parent e98bcaf3f5
commit 9d304ad585

View file

@ -113,10 +113,13 @@ class Petsc(Package):
# Other dependencies
depends_on('boost', when='@:3.5+boost')
depends_on('metis@5:~int64+real64', when='+metis~int64+double')
depends_on('metis@5:+int64', when='+metis+int64~double')
depends_on('metis@5:~int64+real64', when='+metis~int64+double')
depends_on('metis@5:+int64', when='+metis+int64~double')
depends_on('metis@5:~int64+real64', when='@:3.7.99+metis~int64+double')
depends_on('metis@5:~int64', when='@:3.7.99+metis~int64~double')
depends_on('metis@5:+int64+real64', when='@:3.7.99+metis+int64+double')
depends_on('metis@5:+int64', when='@:3.7.99+metis+int64~double')
# petsc-3.8+ uses default (float) metis with any (petsc) precision
depends_on('metis@5:~int64', when='@3.8:+metis~int64')
depends_on('metis@5:+int64', when='@3.8:+metis+int64')
depends_on('hdf5+mpi+hl', when='+hdf5+mpi')
depends_on('zlib', when='+hdf5')