blob: eb6be59cc76d6179d63592852f25c525fbf24c9c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 2013-2023 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.package 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")
license("CC0-1.0")
version(
"3.0.21.02.21", sha256="e52f5c374a10364999d57a1be30219b47fb0b4f090e418f2ca19a0c037c1e694"
)
version(
"3.0.20.11.20", sha256="3c506083e72e9ee09fc7d5de513be7c5eff0284f198a60fb60ab493f6f0a549a"
)
version(
"2.2.18.04.06", sha256="f77021a57b3afcdebc73107e2254b95780026a9df9aa4f8db6aff11c03f0ec6c"
)
depends_on("opencl")
def install(self, spec, prefix):
make("install", "PREFIX={0}".format(prefix))
|