From 0afe8b87e16514a48b8d0d16a6dca302d51cf694 Mon Sep 17 00:00:00 2001 From: Victoria Cherkas <87643948+victoria-cherkas@users.noreply.github.com> Date: Fri, 1 Dec 2023 18:25:31 +0100 Subject: [PATCH] eccodes: add v2.32.0, v2.31.0 (#40770) * eccodes new versions and dependencies * Suggested changes for multiple variant defaults * Update var/spack/repos/builtin/packages/eccodes/package.py --------- Co-authored-by: Sergey Kosukhin --- var/spack/repos/builtin/packages/eccodes/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/eccodes/package.py b/var/spack/repos/builtin/packages/eccodes/package.py index 36ab4019f077dd..e985367c147c12 100644 --- a/var/spack/repos/builtin/packages/eccodes/package.py +++ b/var/spack/repos/builtin/packages/eccodes/package.py @@ -48,6 +48,8 @@ class Eccodes(CMakePackage): maintainers("skosukhin") version("develop", branch="develop") + version("2.32.0", sha256="b57e8eeb0eba0c05d66fda5527c4ffa84b5ab35c46bcbc9a2227142973ccb8e6") + version("2.31.0", sha256="808ecd2c11fbf2c3f9fc7a36f8c2965b343f3151011b58a1d6e7cc2e6b3cac5d") version("2.27.0", sha256="ede5b3ffd503967a5eac89100e8ead5e16a881b7585d02f033584ed0c4269c99") version("2.25.0", sha256="8975131aac54d406e5457706fd4e6ba46a8cc9c7dd817a41f2aa64ce1193c04e") version("2.24.2", sha256="c60ad0fd89e11918ace0d84c01489f21222b11d6cad3ff7495856a0add610403") @@ -71,7 +73,7 @@ class Eccodes(CMakePackage): ) variant("png", default=False, description="Enable PNG support for decoding/encoding") variant( - "aec", default=False, description="Enable Adaptive Entropy Coding for decoding/encoding" + "aec", default=True, description="Enable Adaptive Entropy Coding for decoding/encoding" ) variant("pthreads", default=False, description="Enable POSIX threads") variant("openmp", default=False, description="Enable OpenMP threads") @@ -107,6 +109,7 @@ class Eccodes(CMakePackage): depends_on("cmake@3.12:", when="@2.19:", type="build") depends_on("ecbuild", type="build", when="@develop") + depends_on("ecbuild@3.7:", type="build", when="@2.25:") conflicts("+openmp", when="+pthreads", msg="Cannot enable both POSIX threads and OMP")