diff options
author | Andrew W Elble <aweits@rit.edu> | 2020-03-28 17:44:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 16:44:23 -0500 |
commit | beaa4fbe3ce1a9fef95187e8caf7f13dba32c4f7 (patch) | |
tree | 1a9bcbe3bc7e7c84e457c5e834fc1963ecff5d79 | |
parent | ddccad14c90e8485ee2e87368fc51765a765cf50 (diff) | |
download | spack-beaa4fbe3ce1a9fef95187e8caf7f13dba32c4f7.tar.gz spack-beaa4fbe3ce1a9fef95187e8caf7f13dba32c4f7.tar.bz2 spack-beaa4fbe3ce1a9fef95187e8caf7f13dba32c4f7.tar.xz spack-beaa4fbe3ce1a9fef95187e8caf7f13dba32c4f7.zip |
New package: gdrcopy (#15732)
* New package: gdrcopy
provides the userspace libraries for gdrcopy.
* Update var/spack/repos/builtin/packages/gdrcopy/package.py
Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/gdrcopy/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gdrcopy/package.py b/var/spack/repos/builtin/packages/gdrcopy/package.py new file mode 100644 index 0000000000..e85c8fb0c0 --- /dev/null +++ b/var/spack/repos/builtin/packages/gdrcopy/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Gdrcopy(MakefilePackage): + """A fast GPU memory copy library based on NVIDIA GPUDirect + RDMA technology.""" + + homepage = "https://github.com/NVIDIA/gdrcopy" + url = "https://github.com/NVIDIA/gdrcopy/archive/v2.0-beta.3.tar.gz" + git = "https://github.com/NVIDIA/gdrcopy" + + version('master', branch='master') + version('2.0', sha256='98320e6e980a7134ebc4eedd6cf23647104f2b3c557f2eaf0d31a02609f5f2b0') + version('1.3', sha256='f11cdfe389b685f6636b80b4a3312dc014a385ad7220179c1318c60e2e28af3a') + + def build(self, spec, prefix): + make('lib') + + def install(self, spec, prefix): + mkdir(prefix.include) + mkdir(prefix.lib64) + make('lib_install', 'PREFIX={0}'.format(self.prefix)) |