zoltan: detect metis int64 variant (#10051)

Configure zoltan depending on metis int64 support
This commit is contained in:
Cameron Smith 2019-01-30 16:19:38 -05:00 committed by Peter Scheibel
parent 477d3fb479
commit 9d7f215e47

View file

@ -79,6 +79,10 @@ def install(self, spec, prefix):
.format(spec['metis'].prefix.include))
config_args.append('--with-ldflags=-L{0}'
.format(spec['metis'].prefix.lib))
if '+int64' in spec['metis']:
config_args.append('--with-id-type=ulong')
else:
config_args.append('--with-id-type=uint')
if '+mpi' in spec:
config_args.append('CC={0}'.format(spec['mpi'].mpicc))