zoltan: detect metis int64 variant (#10051)
Configure zoltan depending on metis int64 support
This commit is contained in:
parent
477d3fb479
commit
9d7f215e47
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue