diff options
author | Samuel Li <shaomeng@users.noreply.github.com> | 2023-03-07 13:26:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 12:26:43 -0800 |
commit | a7501105b170534fcf0617514be93b1122d6e8bd (patch) | |
tree | 26a1298bd30c41f0ddda6b268419b0a86d024f0a /var | |
parent | da33334488f9f9af8d3ccca2c2e0187300ec9a55 (diff) | |
download | spack-a7501105b170534fcf0617514be93b1122d6e8bd.tar.gz spack-a7501105b170534fcf0617514be93b1122d6e8bd.tar.bz2 spack-a7501105b170534fcf0617514be93b1122d6e8bd.tar.xz spack-a7501105b170534fcf0617514be93b1122d6e8bd.zip |
update SPERR package (#35810)
* update SPERR package
* remove blank line
* update SPERR package
* remove blank line
---------
Co-authored-by: Samuel Li <Sam@Navada>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/sperr/package.py | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/sperr/package.py b/var/spack/repos/builtin/packages/sperr/package.py index 5dd0f59cd2..131a6a7fda 100644 --- a/var/spack/repos/builtin/packages/sperr/package.py +++ b/var/spack/repos/builtin/packages/sperr/package.py @@ -10,10 +10,15 @@ class Sperr(CMakePackage): """SPERR is a lossy scientific (floating-point) data compressor that can perform either error-bounded or size-bounded data compression""" + # Package info homepage = "https://github.com/NCAR/SPERR" - url = "https://github.com/NCAR/SPERR/archive/refs/tags/v0.5.tar.gz" - git = homepage + url = "https://github.com/NCAR/SPERR/archive/refs/tags/v0.6.2.tar.gz" + git = "https://github.com/NCAR/SPERR.git" + maintainers("shaomeng", "robertu94") + # Versions + version("main", branch="main") + version("0.6.2", sha256="d986997e2d79a1f27146ad02c623359976a1e72a1ab0d957e128d430cda3782d") version("0.5", sha256="20ad48c0e7599d3e5866e024d0c49648eb817f72ad5459f5468122cf14a97171") depends_on("git", type="build") @@ -21,10 +26,9 @@ class Sperr(CMakePackage): depends_on("pkgconfig", type=("build"), when="+zstd") variant("shared", description="build shared libaries", default=True) - variant("zstd", description="use Zstd for more compression", default=True) - variant("openmp", description="use openmp for acceleration", default=True) - - maintainers("shaomeng", "robertu94") + variant("zstd", description="use zstd for more compression", default=True) + variant("openmp", description="use openmp in 3D inputs", default=True) + variant("utilities", description="build SPERR CLI utilities", default=True) def cmake_args(self): # ensure the compiler supports OpenMP if it is used @@ -35,9 +39,9 @@ class Sperr(CMakePackage): self.define_from_variant("BUILD_SHARED_LIBS", "shared"), self.define_from_variant("USE_ZSTD", "zstd"), self.define_from_variant("USE_OMP", "openmp"), + self.define_from_variant("BUILD_CLI_UTILITIES", "utilities"), "-DSPERR_PREFER_RPATH=OFF", "-DUSE_BUNDLED_ZSTD=OFF", - "-DBUILD_CLI_UTILITIES=OFF", "-DBUILD_UNIT_TESTS=OFF", ] return args |