summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwspear <wjspear@gmail.com>2023-12-28 00:41:40 -0800
committerGitHub <noreply@github.com>2023-12-28 09:41:40 +0100
commit537c150041798364f51149f36ead9da70e51027e (patch)
tree58786cf8855630fca4a8b6eab6483b9a95649c8b
parentc4394822d5dd0feb89e533b80340d5512e6bf0ea (diff)
downloadspack-537c150041798364f51149f36ead9da70e51027e.tar.gz
spack-537c150041798364f51149f36ead9da70e51027e.tar.bz2
spack-537c150041798364f51149f36ead9da70e51027e.tar.xz
spack-537c150041798364f51149f36ead9da70e51027e.zip
opari2: add v2.0.7, v2.0.8 (#41887)
-rw-r--r--var/spack/repos/builtin/packages/opari2/package.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/opari2/package.py b/var/spack/repos/builtin/packages/opari2/package.py
index 7fa19c2423..4aba030cc0 100644
--- a/var/spack/repos/builtin/packages/opari2/package.py
+++ b/var/spack/repos/builtin/packages/opari2/package.py
@@ -18,13 +18,11 @@ class Opari2(AutotoolsPackage):
"""
homepage = "https://www.vi-hps.org/projects/score-p"
- url = "https://www.vi-hps.org/cms/upload/packages/opari2/opari2-2.0.4.tar.gz"
+ url = "https://perftools.pages.jsc.fz-juelich.de/cicd/opari2/tags/opari2-2.0.8/opari2-2.0.8.tar.gz"
- version(
- "2.0.6",
- sha256="55972289ce66080bb48622110c3189a36e88a12917635f049b37685b9d3bbcb0",
- url="https://perftools.pages.jsc.fz-juelich.de/cicd/opari2/tags/opari2-2.0.6/opari2-2.0.6.tar.gz",
- )
+ version("2.0.8", sha256="196e59a2a625e6c795a6124c61e784bad142f9f38df0b4fa4d435ba9b9c19721")
+ version("2.0.7", sha256="e302a4cc265eb2a4aa27c16a90eabd9e1e58cb02a191dd1c4d86f9a0df128715")
+ version("2.0.6", sha256="55972289ce66080bb48622110c3189a36e88a12917635f049b37685b9d3bbcb0")
version("2.0.5", sha256="9034dd7596ac2176401090fd5ced45d0ab9a9404444ff767f093ccce68114ef5")
version("2.0.4", sha256="f69e324792f66780b473daf2b3c81f58ee8188adc72b6fe0dacf43d4c1a0a131")
version("2.0.3", sha256="7e2efcfbc99152ee6e31454ef4fb747f77165691539d5d2c1df2abc4612de86c")
@@ -33,5 +31,13 @@ class Opari2(AutotoolsPackage):
version("1.1.4", sha256="b80c04fe876faaa4ee9a0654486ecbeba516b27fc14a90d20c6384e81060cffe")
version("1.1.2", sha256="8405c2903730d94c828724b3a5f8889653553fb8567045a6c54ac0816237835d")
+ def url_for_version(self, version):
+ if version >= Version("2.0.6"):
+ url = "https://perftools.pages.jsc.fz-juelich.de/cicd/opari2/tags/opari2-{0}/opari2-{0}.tar.gz"
+ else:
+ url = "https://www.vi-hps.org/cms/upload/packages/opari2/opari2-{0}.tar.gz"
+
+ return url.format(version)
+
def configure_args(self):
return ["--enable-shared"]