diff options
author | Victor Lopez Herrero <vlopezh@users.noreply.github.com> | 2024-09-28 12:17:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-28 12:17:39 +0200 |
commit | 04f4493c5b1e9c355552cc095eadbf4bb4c10a05 (patch) | |
tree | 9c9919354fc5067d7de25eb0d2443c299b46e02d /var | |
parent | 44bff900890adc99b32c8103df8abbaf6e7ea766 (diff) | |
download | spack-04f4493c5b1e9c355552cc095eadbf4bb4c10a05.tar.gz spack-04f4493c5b1e9c355552cc095eadbf4bb4c10a05.tar.bz2 spack-04f4493c5b1e9c355552cc095eadbf4bb4c10a05.tar.xz spack-04f4493c5b1e9c355552cc095eadbf4bb4c10a05.zip |
dlb: add v3.4.1 (#46032)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dlb/package.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/dlb/package.py b/var/spack/repos/builtin/packages/dlb/package.py index a1442e07c9..988d4061f0 100644 --- a/var/spack/repos/builtin/packages/dlb/package.py +++ b/var/spack/repos/builtin/packages/dlb/package.py @@ -22,6 +22,7 @@ class Dlb(AutotoolsPackage): license("LGPL-3.0-or-later") version("main", branch="main") + version("3.4.1", sha256="7c071b75c126f8e77c1a30369348751624d5636edcbd663bf3d41fa04733c894") version("3.4", sha256="6091d032c11a094a3ce0bec11c0a164783fdff83cb4ec870c9d8e192410c353a") version("3.3.1", sha256="1b245acad80b03eb83e815fd59dcfc598cfddd899de4504cf6a9572fe5359f40") version("3.3", sha256="55b87aea14f3954d8878912f3134938db235e6984fae26fdf5134148007eb722") @@ -31,13 +32,17 @@ class Dlb(AutotoolsPackage): version("3.0.1", sha256="04f8a7aa269d02fc8561d0a61d64786aa18850367ce4f95d086ca12ab3eb7d24") version("3.0", sha256="e3fc1d51e9ded6d4d40d37f8568da4c4d72d1a8996bdeff2dfbbd86c9b96e36a") - depends_on("c", type="build") # generated - depends_on("fortran", type="build") # generated + depends_on("c", type="build") + depends_on("fortran", type="build") - variant("debug", default=False, description="Builds additional debug libraries") - variant("mpi", default=False, description="Builds MPI libraries") + variant("debug", default=False, description="Build additional debug libraries") + variant("mpi", default=True, description="Build MPI libraries") + variant("hwloc", default=True, description="Enable HWLOC support") + variant("papi", default=True, description="Enable PAPI support") depends_on("mpi", when="+mpi") + depends_on("hwloc", when="+hwloc") + depends_on("papi", when="@3.4: +papi") depends_on("python", type="build") depends_on("autoconf", type="build", when="@main") depends_on("automake", type="build", when="@main") @@ -48,5 +53,8 @@ class Dlb(AutotoolsPackage): args.extend(self.enable_or_disable("debug")) args.extend(self.enable_or_disable("instrumentation-debug", variant="debug")) args.extend(self.with_or_without("mpi")) + args.extend(self.with_or_without("hwloc")) + if self.spec.satisfies("@3.4:"): + args.extend(self.with_or_without("papi")) return args |