manually add mpi home to testing (#36633)

This commit is contained in:
Miroslav Stoyanov 2023-04-06 13:52:43 -04:00 committed by GitHub
parent 3e2d03984e
commit 74ad92e16b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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