ArborX: Avoid calling mkdirp directly (#23691)
This commit is contained in:
parent
8ee8269ede
commit
e34d996944
@ -83,7 +83,6 @@ def build_tests(self):
|
|||||||
"""Build test."""
|
"""Build test."""
|
||||||
cmake_build_path = join_path(self.install_test_root,
|
cmake_build_path = join_path(self.install_test_root,
|
||||||
self.examples_src_dir, "build")
|
self.examples_src_dir, "build")
|
||||||
mkdirp(cmake_build_path)
|
|
||||||
cmake_prefix_path = "-DCMAKE_PREFIX_PATH={0}".format(self.spec['arborx'].prefix)
|
cmake_prefix_path = "-DCMAKE_PREFIX_PATH={0}".format(self.spec['arborx'].prefix)
|
||||||
|
|
||||||
# We don't need to append the path to Kokkos to CMAKE_PREFIX_PATH
|
# We don't need to append the path to Kokkos to CMAKE_PREFIX_PATH
|
||||||
@ -92,7 +91,7 @@ def build_tests(self):
|
|||||||
# being installed as a standalone or as part of Trilinos.
|
# being installed as a standalone or as part of Trilinos.
|
||||||
if '+mpi' in self.spec:
|
if '+mpi' in self.spec:
|
||||||
cmake_prefix_path += ";{0}".format(self.spec['mpi'].prefix)
|
cmake_prefix_path += ";{0}".format(self.spec['mpi'].prefix)
|
||||||
with working_dir(cmake_build_path):
|
with working_dir(cmake_build_path, create=True):
|
||||||
cmake_args = ["..",
|
cmake_args = ["..",
|
||||||
cmake_prefix_path,
|
cmake_prefix_path,
|
||||||
"-DCMAKE_CXX_COMPILER={0}".format(self.compiler.cxx)]
|
"-DCMAKE_CXX_COMPILER={0}".format(self.compiler.cxx)]
|
||||||
|
Loading…
Reference in New Issue
Block a user