summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-28 18:36:25 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-28 18:36:25 -0700
commite0aa439d3bc39e839e27ced6288a57eba35e7e1c (patch)
tree12cc9d11c18f8946d351899a3625c7ed13aa2ae2
parent5bf5a581166c397db5e7e421ef52974a797dc208 (diff)
downloadspack-e0aa439d3bc39e839e27ced6288a57eba35e7e1c.tar.gz
spack-e0aa439d3bc39e839e27ced6288a57eba35e7e1c.tar.bz2
spack-e0aa439d3bc39e839e27ced6288a57eba35e7e1c.tar.xz
spack-e0aa439d3bc39e839e27ced6288a57eba35e7e1c.zip
New package: py-pycuda (#12592)
-rw-r--r--var/spack/repos/builtin/packages/py-pycuda/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pycuda/package.py b/var/spack/repos/builtin/packages/py-pycuda/package.py
new file mode 100644
index 0000000000..b67b7397b4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pycuda/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2019 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 PyPycuda(PythonPackage):
+ """PyCUDA gives you easy, Pythonic access to Nvidia's CUDA parallel
+ computation API
+ """
+
+ homepage = "https://mathema.tician.de/software/pycuda/"
+ url = "https://pypi.io/packages/source/p/pycuda/pycuda-2019.1.2.tar.gz"
+
+ version('2019.1.2', sha256='ada56ce98a41f9f95fe18809f38afbae473a5c62d346cfa126a2d5477f24cc8a')
+ version('2016.1.2', sha256='a7dbdac7e2f0c0d2ad98f5f281d5a9d29d6673b3c20210e261b96e9a2d0b6e37')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('cuda')
+ depends_on('boost')
+ depends_on('py-numpy@1.6:', type=('build', 'run'))
+ depends_on('py-six', type='run')
+ depends_on('py-decorator@3.2.0:', type='run')
+ depends_on('py-appdirs@1.4.0:', type='run')
+ depends_on('py-mako', type='run')
+
+ depends_on('cuda@:8.0.61', when='@2016.1.2')
+
+ depends_on('py-pytest@2:', type='test')