Fix style

This commit is contained in:
Adrien M. BERNEDE 2025-03-25 15:40:29 +01:00
parent 3a5db5623f
commit e7e6985b13
4 changed files with 16 additions and 4 deletions

View File

@ -233,7 +233,9 @@ def initconfig_hardware_entries(self):
if archs != "none": if archs != "none":
arch_str = ",".join(archs) arch_str = ",".join(archs)
entries.append( entries.append(
cmake_cache_string("HIP_HIPCC_FLAGS", "--amdgpu-target={0}".format(arch_str)) cmake_cache_string(
"HIP_HIPCC_FLAGS", "--amdgpu-target={0}".format(arch_str)
)
) )
else: else:
entries.append(cmake_cache_option("ENABLE_HIP", False)) entries.append(cmake_cache_option("ENABLE_HIP", False))

View File

@ -99,7 +99,11 @@ class RajaPerf(CachedCMakePackage, CudaPackage, ROCmPackage):
description="Tests to run", description="Tests to run",
) )
variant("caliper", default=False, description="Build with support for Caliper based profiling") variant("caliper", default=False, description="Build with support for Caliper based profiling")
variant("lowopttest", default=False, description="Intended for developers to use low optimization level for tests to pass with some compilers.") variant(
"lowopttest",
default=False,
description="Intended for developers to use low optimization level for tests to pass with some compilers."
)
depends_on("blt") depends_on("blt")
depends_on("blt@0.6.2:", type="build", when="@2024.07.0:") depends_on("blt@0.6.2:", type="build", when="@2024.07.0:")

View File

@ -214,7 +214,11 @@ class Raja(CachedCMakePackage, CudaPackage, ROCmPackage):
description="Run all the tests, including those known to fail.", description="Run all the tests, including those known to fail.",
) )
variant("lowopttest", default=False, description="Intended for developers to use low optimization level for tests to pass with some compilers.") variant(
"lowopttest",
default=False,
description="Intended for developers to use low optimization level for tests to pass with some compilers."
)
depends_on("blt", type="build") depends_on("blt", type="build")
depends_on("blt@0.6.2:", type="build", when="@2024.02.1:") depends_on("blt@0.6.2:", type="build", when="@2024.02.1:")

View File

@ -397,7 +397,9 @@ def initconfig_mpi_entries(self):
entries = super().initconfig_mpi_entries() entries = super().initconfig_mpi_entries()
entries.append(cmake_cache_option("ENABLE_MPI", spec.satisfies("+mpi"))) entries.append(cmake_cache_option("ENABLE_MPI", spec.satisfies("+mpi")))
entries.append(cmake_cache_option("UMPIRE_ENABLE_MPI3_SHARED_MEMORY", spec.satisfies("+mpi3_shmem"))) entries.append(
cmake_cache_option("UMPIRE_ENABLE_MPI3_SHARED_MEMORY", spec.satisfies("+mpi3_shmem"))
)
return entries return entries