summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2020-03-07 11:31:29 -0800
committerGitHub <noreply@github.com>2020-03-07 13:31:29 -0600
commit4e10eb08a95483cd4d27c0329bcce9e8c6a2a1ed (patch)
tree71f7a33e7f24cba75aa434a1465dea8df3b710cc /var
parentb444fd25bbcde92949d88b5f912393bfa0c821a5 (diff)
downloadspack-4e10eb08a95483cd4d27c0329bcce9e8c6a2a1ed.tar.gz
spack-4e10eb08a95483cd4d27c0329bcce9e8c6a2a1ed.tar.bz2
spack-4e10eb08a95483cd4d27c0329bcce9e8c6a2a1ed.tar.xz
spack-4e10eb08a95483cd4d27c0329bcce9e8c6a2a1ed.zip
new package: GunRock (#15383)
* new package: GunRock * Update var/spack/repos/builtin/packages/gunrock/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * improve Co-authored-by: Sinan81 <sbulut@3vgeomatics.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Sinan81 <Sinan81@github>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gunrock/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gunrock/package.py b/var/spack/repos/builtin/packages/gunrock/package.py
new file mode 100644
index 0000000000..f47c1bf635
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gunrock/package.py
@@ -0,0 +1,31 @@
+# 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 Gunrock(CMakePackage, CudaPackage):
+ """High-Performance Graph Primitives on GPUs"""
+
+ homepage = "https://gunrock.github.io/docs/"
+ git = "https://github.com/gunrock/gunrock.git"
+
+ version('master', submodules=True)
+ version('1.1', submodules=True, tag='v1.1')
+ version('1.0', submodules=True, tag='v1.0')
+ version('0.5.1', submodules=True, tag='v0.5.1')
+ version('0.5', submodules=True, tag='v0.5')
+ version('0.4', submodules=True, tag='v0.4')
+ version('0.3.1', submodules=True, tag='v0.3.1')
+ version('0.3', submodules=True, tag='v0.3')
+ version('0.2', submodules=True, tag='v0.2')
+ version('0.1', submodules=True, tag='v0.1')
+
+ depends_on('cuda')
+
+ def install(self, spec, prefix):
+ with working_dir(self.build_directory):
+ install_tree('bin', prefix.bin)
+ install_tree('lib', prefix.lib)