Update CARE package

This commit is contained in:
Adrien M. BERNEDE 2025-03-25 09:37:38 +01:00
parent d7301f66c9
commit b251e2e43f

View File

@ -89,6 +89,7 @@ class Care(CachedCMakePackage, CudaPackage, ROCmPackage):
variant(
"implicit_conversions",
default=False,
when="@:0.14",
description="Enable implicit" "conversions to/from raw pointers",
)
variant("tests", default=False, description="Build tests")
@ -227,6 +228,7 @@ def initconfig_hardware_entries(self):
if spec.satisfies("+rocm"):
entries.append(cmake_cache_option("ENABLE_HIP", True))
if spec.satisfies("^blt@:0.6"):
archs = self.spec.variants["amdgpu_target"].value
if archs != "none":
arch_str = ",".join(archs)