heffte: Update @develop for newer cmake (#47067)
This commit is contained in:
parent
296f99d800
commit
411ea019f1
@ -142,7 +142,12 @@ def test_make_test(self):
|
|||||||
cmake_dir = self.test_suite.current_test_cache_dir.testing
|
cmake_dir = self.test_suite.current_test_cache_dir.testing
|
||||||
|
|
||||||
options = [cmake_dir]
|
options = [cmake_dir]
|
||||||
options.append(self.define("Heffte_DIR", self.spec.prefix.lib.cmake.Heffte))
|
# changing the default install path search to newer cmake convention
|
||||||
|
if self.spec.satisfies("@develop"):
|
||||||
|
options.append(self.define("Heffte_ROOT", self.spec.prefix))
|
||||||
|
else:
|
||||||
|
options.append(self.define("Heffte_DIR", self.spec.prefix.lib.cmake.Heffte))
|
||||||
|
|
||||||
if self.spec.satisfies("+rocm"):
|
if self.spec.satisfies("+rocm"):
|
||||||
# path name is 'hsa-runtime64' but python cannot have '-' in variable name
|
# path name is 'hsa-runtime64' but python cannot have '-' in variable name
|
||||||
hsa_runtime = join_path(self.spec["hsa-rocr-dev"].prefix.lib.cmake, "hsa-runtime64")
|
hsa_runtime = join_path(self.spec["hsa-rocr-dev"].prefix.lib.cmake, "hsa-runtime64")
|
||||||
|
Loading…
Reference in New Issue
Block a user