hipsparselt, composable-kernel: add netlib-lapack test dependency and enable ck test (#45273)

* add netlib-lapack dependency to hipsparselt and enable ck test
* fix cmake args
This commit is contained in:
afzpatel 2024-07-17 13:49:28 -04:00 committed by GitHub
parent 91071933d0
commit 813c0dd031
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -89,7 +89,10 @@ def cmake_args(self):
if "auto" not in self.spec.variants["amdgpu_target"]:
args.append(self.define_from_variant("GPU_TARGETS", "amdgpu_target"))
if self.spec.satisfies("@5.6.0:"):
args.append(self.define("INSTANCES_ONLY", "ON"))
if self.run_tests:
args.append(self.define("BUILD_TESTING", "ON"))
else:
args.append(self.define("INSTANCES_ONLY", "ON"))
args.append(self.define("CK_BUILD_JIT_LIB", "ON"))
args.append(self.define("CMAKE_POSITION_INDEPENDENT_CODE", "ON"))
if self.spec.satisfies("@:5.7"):

View File

@ -57,6 +57,7 @@ class Hipsparselt(CMakePackage, ROCmPackage):
depends_on("py-pyyaml", type="test")
depends_on("py-joblib")
depends_on("googletest@1.10.0:", type="test")
depends_on("netlib-lapack@3.7.1:", type="test")
patch("0001-update-llvm-path-add-hipsparse-include-dir-for-spack.patch", when="@6.0")
# Below patch sets the proper path for clang++,lld and clang-offload-blunder inside the