neko: add v0.8.0 (#45086)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
9b49576875
commit
87df95c097
@ -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 @@ def configure_args(self):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user