summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Diener <mdiener@illinois.edu>2020-06-12 13:37:34 -0500
committerGitHub <noreply@github.com>2020-06-12 11:37:34 -0700
commitc4756159f37ae9217377cdcb7718a229ec413736 (patch)
tree125e2ad33fc6dd036bab6b80020d3e3866d4867a
parent42e6cb769e7d2f30700ba4529c2061e8fed7fcb5 (diff)
downloadspack-c4756159f37ae9217377cdcb7718a229ec413736.tar.gz
spack-c4756159f37ae9217377cdcb7718a229ec413736.tar.bz2
spack-c4756159f37ae9217377cdcb7718a229ec413736.tar.xz
spack-c4756159f37ae9217377cdcb7718a229ec413736.zip
New package: clinfo (#17042)
-rw-r--r--var/spack/repos/builtin/packages/clinfo/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/clinfo/package.py b/var/spack/repos/builtin/packages/clinfo/package.py
new file mode 100644
index 0000000000..1fb78b42aa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/clinfo/package.py
@@ -0,0 +1,24 @@
+# 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 Clinfo(MakefilePackage):
+ """Print all known information about all available OpenCL platforms and
+ devices in the system."""
+
+ homepage = "https://github.com/Oblomov/clinfo"
+ url = "https://github.com/Oblomov/clinfo/archive/2.2.18.04.06.tar.gz"
+
+ maintainers = ['matthiasdiener']
+
+ version('2.2.18.04.06', sha256='f77021a57b3afcdebc73107e2254b95780026a9df9aa4f8db6aff11c03f0ec6c')
+
+ depends_on('opencl')
+
+ def install(self, spec, prefix):
+ make('install', 'PREFIX={0}'.format(prefix))