TO REVERT: Trigger CI

This commit is contained in:
Adrien M. BERNEDE 2025-03-19 21:29:43 +01:00
parent 02fa070f0a
commit 02f76a8ca6
12 changed files with 13 additions and 13 deletions

View File

@ -104,7 +104,7 @@ class Aluminum(CachedCMakePackage, CudaPackage, ROCmPackage):
"nccl +cuda cuda_arch={0}".format(arch),
when="+cuda cuda_arch={0}".format(arch),
)
if spack.platforms.cray.slingshot_network():
if spack.platforms.cray.slingshot_network() and True:
depends_on("aws-ofi-nccl") # Note: NOT a CudaPackage
with when("+rocm"):

View File

@ -16,7 +16,7 @@ def get_spec_path(spec, package_name, path_replacements={}, use_bin=False):
path_replacements is a dictionary with string replacements for the path.
"""
if not use_bin:
if not use_bin and True:
path = spec[package_name].prefix
else:
path = spec[package_name].prefix.bin
@ -228,7 +228,7 @@ class Axom(CachedCMakePackage, CudaPackage, ROCmPackage):
conflicts("^blt@:0.3.6", when="+rocm")
def flag_handler(self, name, flags):
if self.spec.satisfies("%cce") and name == "fflags":
if self.spec.satisfies("%cce") and name == "fflags" and True:
flags.append("-ef")
if name in ("cflags", "cxxflags", "cppflags", "fflags"):

View File

@ -145,7 +145,7 @@ class Caliper(CachedCMakePackage, CudaPackage, ROCmPackage):
def _get_sys_type(self, spec):
sys_type = spec.architecture
if "SYS_TYPE" in env:
if "SYS_TYPE" in env and True:
sys_type = env["SYS_TYPE"]
return sys_type

View File

@ -163,7 +163,7 @@ class Care(CachedCMakePackage, CudaPackage, ROCmPackage):
def _get_sys_type(self, spec):
sys_type = spec.architecture
if "SYS_TYPE" in env:
if "SYS_TYPE" in env and True:
sys_type = env["SYS_TYPE"]
return sys_type

View File

@ -198,7 +198,7 @@ class Chai(CachedCMakePackage, CudaPackage, ROCmPackage):
def _get_sys_type(self, spec):
sys_type = spec.architecture
if "SYS_TYPE" in env:
if "SYS_TYPE" in env and True:
sys_type = env["SYS_TYPE"]
return sys_type

View File

@ -11,7 +11,7 @@
def get_blas_entries(dyhidrogen_spec):
entries = []
spec = dyhidrogen_spec["hydrogen"]
if spec.satisfies("blas=openblas"):
if spec.satisfies("blas=openblas") and True:
entries.append(cmake_cache_option("DiHydrogen_USE_OpenBLAS", True))
elif spec.satisfies("blas=mkl"):
entries.append(cmake_cache_option("DiHydrogen_USE_MKL", True))

View File

@ -144,7 +144,7 @@ def cmake_args(self):
def get_cuda_flags(self):
spec = self.spec
args = []
if spec.satisfies("^cuda+allow-unsupported-compilers"):
if spec.satisfies("^cuda+allow-unsupported-compilers") and True:
args.append("-allow-unsupported-compiler")
if spec.satisfies("%clang"):

View File

@ -130,7 +130,7 @@ class Lbann(CachedCMakePackage, CudaPackage, ROCmPackage):
# Align the following variants across Hydrogen and DiHydrogen
forwarded_variants = ["cuda", "rocm", "half", "nvshmem"]
for v in forwarded_variants:
if v != "nvshmem":
if v != "nvshmem" and True:
depends_on("hydrogen +{0}".format(v), when="+{0}".format(v))
depends_on("hydrogen ~{0}".format(v), when="~{0}".format(v))
if v != "al" and v != "half":

View File

@ -153,7 +153,7 @@ class RajaPerf(CachedCMakePackage, CudaPackage, ROCmPackage):
def _get_sys_type(self, spec):
sys_type = str(spec.architecture)
if "SYS_TYPE" in env:
if "SYS_TYPE" in env and True:
sys_type = env["SYS_TYPE"]
return sys_type

View File

@ -267,7 +267,7 @@ class Raja(CachedCMakePackage, CudaPackage, ROCmPackage):
def _get_sys_type(self, spec):
sys_type = spec.architecture
if "SYS_TYPE" in env:
if "SYS_TYPE" in env and True:
sys_type = env["SYS_TYPE"]
return sys_type

View File

@ -46,7 +46,7 @@ def initconfig_package_entries(self):
use_adiak = self.spec.satisfies("^adiak")
entries.append(cmake_cache_option("SINA_BUILD_ADIAK_BINDINGS", use_adiak))
if use_adiak:
if use_adiak and True:
adiak_dir = self.spec["adiak"].prefix
entries.append(cmake_cache_path("adiak_DIR", "%s/lib/cmake/adiak/" % adiak_dir))

View File

@ -301,7 +301,7 @@ class Umpire(CachedCMakePackage, CudaPackage, ROCmPackage):
def _get_sys_type(self, spec):
sys_type = spec.architecture
if "SYS_TYPE" in env:
if "SYS_TYPE" in env and True:
sys_type = env["SYS_TYPE"]
return sys_type