gnu: Add rocminfo.

* gnu/packages/rocm.scm (rocminfo): New variable.
This commit is contained in:
Lars-Dominik Braun 2021-08-06 08:29:12 +02:00
parent c0f10a5dd4
commit 91ce17a532
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -304,3 +304,24 @@ allows runtimes to work on Windows as well as on Linux without much effort.")
(description "OpenCL 2.0 compatible language runtime, supporting offline
and in-process/in-memory compilation.")
(license license:ncsa)))
(define-public rocminfo
(package
(name "rocminfo")
(version %rocm-version)
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/RadeonOpenCompute/rocminfo.git")
(commit (string-append "rocm-" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0pcm308vwkjrwnrk507iya20mkil8j0vx699w9jk2gas4n4jvkcz"))))
(build-system cmake-build-system)
(arguments `(#:tests? #f)) ; No tests.
(inputs `(("rocr-runtime" ,rocr-runtime)))
(home-page "https://github.com/RadeonOpenCompute/rocminfo")
(synopsis "ROCm Application for Reporting System Info")
(description #f)
(license license:ncsa)))