diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/pika/package.py | 11 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/whip/package.py | 1 |
2 files changed, 8 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/pika/package.py b/var/spack/repos/builtin/packages/pika/package.py index 2b2f38507c..22cee1b58a 100644 --- a/var/spack/repos/builtin/packages/pika/package.py +++ b/var/spack/repos/builtin/packages/pika/package.py @@ -102,13 +102,14 @@ class Pika(CMakePackage, CudaPackage, ROCmPackage): depends_on("rocsolver", when="@0.5: +rocm") depends_on("tracy-client", when="+tracy") conflicts("tracy-client@0.9:", when="@:0.9") - depends_on("whip+rocm", when="@0.9: +rocm") - depends_on("whip+cuda", when="@0.9: +cuda") + depends_on("whip@0.1: +rocm", when="@0.9: +rocm") + depends_on("whip@0.1: +cuda", when="@0.9: +cuda") with when("+rocm"): for val in ROCmPackage.amdgpu_targets: depends_on( - "whip amdgpu_target={0}".format(val), when="@0.9: amdgpu_target={0}".format(val) + "whip@0.1: amdgpu_target={0}".format(val), + when="@0.9: amdgpu_target={0}".format(val), ) depends_on( "rocsolver amdgpu_target={0}".format(val), @@ -120,7 +121,9 @@ class Pika(CMakePackage, CudaPackage, ROCmPackage): with when("+cuda"): for val in CudaPackage.cuda_arch_values: - depends_on("whip cuda_arch={0}".format(val), when="@0.9: cuda_arch={0}".format(val)) + depends_on( + "whip@0.1: cuda_arch={0}".format(val), when="@0.9: cuda_arch={0}".format(val) + ) for cxxstd in cxxstds: depends_on("boost cxxstd={0}".format(map_cxxstd(cxxstd)), when="cxxstd={0}".format(cxxstd)) diff --git a/var/spack/repos/builtin/packages/whip/package.py b/var/spack/repos/builtin/packages/whip/package.py index 0947735ec6..d49bd2edd9 100644 --- a/var/spack/repos/builtin/packages/whip/package.py +++ b/var/spack/repos/builtin/packages/whip/package.py @@ -16,6 +16,7 @@ class Whip(CMakePackage, CudaPackage, ROCmPackage): maintainers = ["msimberg", "rasolca"] version("main", branch="main") + version("0.1.0", sha256="5d557794f4afc8332fc660948a342f69e22bc9e5d575ffb3e3944cf526db5ec9") depends_on("cmake@3.22:", type="build") |