manually add mpi home to testing (#36633)
This commit is contained in:
parent
3e2d03984e
commit
74ad92e16b
@ -244,6 +244,9 @@ def test(self):
|
||||
+ join_path(self.spec["rocsolver"].prefix, "lib", "cmake", "rocsolver")
|
||||
)
|
||||
|
||||
if "+mpi" in self.spec:
|
||||
options.append("-DMPI_HOME=" + self.spec["mpi"].prefix)
|
||||
|
||||
if not self.run_test(cmake_bin, options=options, purpose="Generate the Makefile"):
|
||||
tty.msg("Skipping tasmanian test: failed to generate Makefile")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user