summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHervé Yviquel <hyviquel@gmail.com>2021-03-28 10:37:33 -0300
committerGitHub <noreply@github.com>2021-03-28 09:37:33 -0400
commit5451e2edebf6924f5dc23e6d3d377736c2d08b2b (patch)
tree21f86156400066630908efdf0626ee41d15fdd6c
parent579d97117d3e486c33d72d2f9db6f6f13792f416 (diff)
downloadspack-5451e2edebf6924f5dc23e6d3d377736c2d08b2b.tar.gz
spack-5451e2edebf6924f5dc23e6d3d377736c2d08b2b.tar.bz2
spack-5451e2edebf6924f5dc23e6d3d377736c2d08b2b.tar.xz
spack-5451e2edebf6924f5dc23e6d3d377736c2d08b2b.zip
gdrcopy: add v2.2 (#22528)
-rw-r--r--var/spack/repos/builtin/packages/gdrcopy/package.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/gdrcopy/package.py b/var/spack/repos/builtin/packages/gdrcopy/package.py
index 3e4e472806..de07c4ac8c 100644
--- a/var/spack/repos/builtin/packages/gdrcopy/package.py
+++ b/var/spack/repos/builtin/packages/gdrcopy/package.py
@@ -11,21 +11,15 @@ class Gdrcopy(MakefilePackage):
RDMA technology."""
homepage = "https://github.com/NVIDIA/gdrcopy"
- url = "https://github.com/NVIDIA/gdrcopy/archive/2.1.tar.gz"
+ url = "https://github.com/NVIDIA/gdrcopy/archive/v2.1.tar.gz"
git = "https://github.com/NVIDIA/gdrcopy"
version('master', branch='master')
+ version('2.2', sha256='e4be119809391b18c735346d24b3b398dd9421cbff47ef12befbae40d61da45f')
version('2.1', sha256='cecc7dcc071107f77396f5553c9109790b6d2298ae29eb2dbbdd52b2a213e4ea')
version('2.0', sha256='98320e6e980a7134ebc4eedd6cf23647104f2b3c557f2eaf0d31a02609f5f2b0')
version('1.3', sha256='f11cdfe389b685f6636b80b4a3312dc014a385ad7220179c1318c60e2e28af3a')
- def url_for_version(self, version):
- if version >= Version('2.1'):
- return super(Gdrcopy, self).url_for_version(version)
-
- url_fmt = "https://github.com/NVIDIA/gdrcopy/archive/v{0}.tar.gz"
- return url_fmt.format(version)
-
def build(self, spec, prefix):
make('lib')