kokkos: change build_environment.get_cmake_prefix_path to build_systems.cmake.get_cmake_prefix_path(self) (#47112)
This commit is contained in:
parent
b582eacbc1
commit
149753a52e
@ -414,7 +414,7 @@ def test_run(self):
|
||||
cmake = self.spec["cmake"].command
|
||||
cmake_args = ["-DEXECUTABLE_OUTPUT_PATH=" + cmake_path]
|
||||
if self.spec.satisfies("+rocm"):
|
||||
prefix_paths = ";".join(spack.build_environment.get_cmake_prefix_path(self))
|
||||
prefix_paths = ";".join(spack.build_systems.cmake.get_cmake_prefix_path(self))
|
||||
cmake_args.append("-DCMAKE_PREFIX_PATH={0}".format(prefix_paths))
|
||||
|
||||
cmake(cmake_path, *cmake_args)
|
||||
|
Loading…
Reference in New Issue
Block a user