summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshwin Kumar Karnad <46030335+iamashwin99@users.noreply.github.com>2024-05-09 11:18:22 +0200
committerGitHub <noreply@github.com>2024-05-09 03:18:22 -0600
commit86a134235e53d12d02b383fe273bac42a2dbeb3d (patch)
treec100f48b37f63c1ecc1ab97cbadc724887850062
parent24cd0da7fb0aa4e31193117e9343c9c78efa003b (diff)
downloadspack-86a134235e53d12d02b383fe273bac42a2dbeb3d.tar.gz
spack-86a134235e53d12d02b383fe273bac42a2dbeb3d.tar.bz2
spack-86a134235e53d12d02b383fe273bac42a2dbeb3d.tar.xz
spack-86a134235e53d12d02b383fe273bac42a2dbeb3d.zip
Octopus 14.1 : Add new version hash (#44083)
* octopus: add hash for new version * octopus: add --enable-silent-deprecation flag when @14.1:
-rw-r--r--var/spack/repos/builtin/packages/octopus/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/octopus/package.py b/var/spack/repos/builtin/packages/octopus/package.py
index 3690feb1c3..4abe82b304 100644
--- a/var/spack/repos/builtin/packages/octopus/package.py
+++ b/var/spack/repos/builtin/packages/octopus/package.py
@@ -23,6 +23,7 @@ class Octopus(AutotoolsPackage, CudaPackage):
license("Apache-2.0")
+ version("14.1", sha256="6955f4020e69f038650a24509ff19ef35de4fd34e181539f92fa432db9b66ca7")
version("14.0", sha256="3cf6ef571ff97cc2c226016815d2ac4aa1e00ae3fb0cc693e0aff5620b80373e")
version("13.0", sha256="b4d0fd496c31a9c4aa4677360e631765049373131e61f396b00048235057aeb1")
version("12.2", sha256="e919e07703696eadb4ba59352d7a2678a9191b4586cb9da538661615e765a5a2")
@@ -300,6 +301,11 @@ class Octopus(AutotoolsPackage, CudaPackage):
args.append(f"{cxxflags} {gcc10_extra}")
args.append(f"{cflags} {gcc10_extra}")
+ # for octopus 14.1 and above autotools is deprecated in favour of cmake
+ # inorder to continue using autotools we pass `--enable-silent-deprecation`
+ if spec.satisfies("@14.1:"):
+ args.append("--enable-silent-deprecation")
+
# Disable flags
#
# disable gdlib explicitly to avoid