diff options
author | Niclas Jansson <njansson@kth.se> | 2024-07-08 09:26:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-08 01:26:44 -0600 |
commit | 87df95c097feee1eb437bf27acd8f8b6dddf532a (patch) | |
tree | 8df02e1198ff14c7b9bc7d3f39dfedaf7dce1a1c /var | |
parent | 9b49576875d099ba46d6e21c4f64e64482c24b71 (diff) | |
download | spack-87df95c097feee1eb437bf27acd8f8b6dddf532a.tar.gz spack-87df95c097feee1eb437bf27acd8f8b6dddf532a.tar.bz2 spack-87df95c097feee1eb437bf27acd8f8b6dddf532a.tar.xz spack-87df95c097feee1eb437bf27acd8f8b6dddf532a.zip |
neko: add v0.8.0 (#45086)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/neko/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/neko/package.py b/var/spack/repos/builtin/packages/neko/package.py index 3eab17ecab..58f959f946 100644 --- a/var/spack/repos/builtin/packages/neko/package.py +++ b/var/spack/repos/builtin/packages/neko/package.py @@ -16,6 +16,7 @@ class Neko(AutotoolsPackage, CudaPackage, ROCmPackage): url = "https://github.com/ExtremeFLOW/neko/releases/download/v0.3.2/neko-0.3.2.tar.gz" maintainers("njansson") + version("0.8.0", sha256="09d0b253c8abda9f384bf8f03b17b50d774cb0a1f7b72744a8e863acac516a51") version("0.7.2", sha256="5dd17fbae83d0b26dc46fafce4e5444be679cdce9493cef4ff7d504e2f854254") version("0.7.1", sha256="c935c3d93b0975db46448045f97aced6ac2cab31a2b8803047f8086f98dcb981") version("0.7.0", sha256="fe871e0a79f388073e0b3dc191d1c0d5da3a53883f5b1951d88b9423fc79a53c") @@ -31,7 +32,8 @@ class Neko(AutotoolsPackage, CudaPackage, ROCmPackage): version("develop", branch="develop") variant("parmetis", default=False, description="Build with support for parmetis") variant("xsmm", default=False, description="Build with support for libxsmm") - variant("gslib", default=False, when="@develop", description="Build with support for gslib") + variant("gslib", default=False, when="@0.7.0:", description="Build with support for gslib") + variant("hdf5", default=False, when="@develop", description="Build with support for HDF5") # Requires cuda or rocm enabled MPI variant( @@ -54,6 +56,7 @@ class Neko(AutotoolsPackage, CudaPackage, ROCmPackage): depends_on("json-fortran", when="@develop") depends_on("json-fortran", when="@0.7.0:") depends_on("gslib", when="+gslib") + depends_on("hdf5+fortran+mpi", when="+hdf5") def configure_args(self): args = [] @@ -63,6 +66,7 @@ class Neko(AutotoolsPackage, CudaPackage, ROCmPackage): args += self.with_or_without("metis", variant="parmetis", activation_value="prefix") args += self.with_or_without("libxsmm", variant="xsmm") args += self.with_or_without("gslib", variant="gslib", activation_value="prefix") + args += self.with_or_without("hdf5", variant="hdf5", activation_value="prefix") args += self.with_or_without("cuda", activation_value="prefix") rocm_fn = lambda x: self.spec["hip"].prefix args += self.with_or_without("hip", variant="rocm", activation_value=rocm_fn) |