Help newer versions of trilinos/zoltan2 successfully configure. (#7059)
+ Newer versions of zoltan2 are doing test compiles that link to parmetis. If these checks don't find `metis.h`, the check fails. + This small tweak ensures that the zoltan2 configure step can find `metis.h` that is provided by spack.
This commit is contained in:
parent
66c46ae655
commit
ac7fef3253
1 changed files with 3 additions and 2 deletions
|
@ -451,8 +451,9 @@ def cmake_args(self):
|
||||||
'-DParMETIS_LIBRARY_DIRS=%s;%s' % (
|
'-DParMETIS_LIBRARY_DIRS=%s;%s' % (
|
||||||
spec['parmetis'].prefix.lib, spec['metis'].prefix.lib),
|
spec['parmetis'].prefix.lib, spec['metis'].prefix.lib),
|
||||||
'-DParMETIS_LIBRARY_NAMES=parmetis;metis',
|
'-DParMETIS_LIBRARY_NAMES=parmetis;metis',
|
||||||
'-DTPL_ParMETIS_INCLUDE_DIRS=%s' % (
|
'-DTPL_ParMETIS_INCLUDE_DIRS=%s;%s' % (
|
||||||
spec['parmetis'].prefix.include)
|
spec['parmetis'].prefix.include,
|
||||||
|
spec['metis'].prefix.include)
|
||||||
])
|
])
|
||||||
else:
|
else:
|
||||||
options.extend([
|
options.extend([
|
||||||
|
|
Loading…
Reference in a new issue