;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Lars-Dominik Braun ;;; Copyright © 2022 John Kehayias ;;; ;;; This program is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; This program is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with this program. If not, see . (define-module (gnu packages rocm) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2024-10-27 19:31:32 +0100
committerLudovic Courtès <ludo@gnu.org>2024-11-06 22:18:08 +0100
commit3553c7f4feea3e3b3b418ec1e66ab64b4c1db48d (patch)
tree3d0f9b8f0a7e57150a042b642fc8e5413c26a76b /gnu/packages/enchant.scm
parent87e96479139953363d28e266b630efb37fc8137b (diff)
downloadguix-3553c7f4feea3e3b3b418ec1e66ab64b4c1db48d.tar.gz
guix-3553c7f4feea3e3b3b418ec1e66ab64b4c1db48d.zip
gnu: upx: Update to 4.2.4.
* gnu/packages/compression.scm (upx): Update to 4.2.4. [properties]: Add lint-hidden-cve property. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/enchant.scm')
0 files changed, 0 insertions, 0 deletions
(assoc-ref %build-inputs "rocm-device-libs") "/amdgcn/bitcode/")) #:tests? #f ; No tests. #:phases (modify-phases %standard-phases (add-after 'unpack 'chdir (lambda _ (chdir "src")))))) (inputs `(("libelf" ,libelf) ("numactl" ,numactl) ("llvm" ,llvm-for-rocm) ("roct-thunk-interface" ,roct-thunk-interface) ("rocm-device-libs" ,rocm-device-libs))) ; For bitcode. (native-inputs (list xxd)) (home-page "https://github.com/RadeonOpenCompute/ROCR-Runtime") (synopsis "ROCm Platform Runtime") (description "User-mode API interfaces and libraries necessary for host applications to launch compute kernels to available HSA ROCm kernel agents.") (license license:ncsa))) ;; This is the source only for ROCclr as from v4.5 it should only be built as ;; part of a client. A warning is output if attempting to build stand-alone ;; and there is no install. The previous version is kept as rocclr-4. (define rocclr-src (origin (method git-fetch) (uri (git-reference (url "https://github.com/ROCm-Developer-Tools/ROCclr.git") (commit (string-append "rocm-" %rocm-version)))) (sha256 (base32 "0x1frzpz9j1s516vscbdm9g5cqirvv5w7wmq2kyljcygnci7yqar")))) (define-public rocm-opencl-runtime (package (name "rocm-opencl-runtime") (version %rocm-version) (home-page "https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime") (source (origin (method git-fetch) (uri (git-reference (url home-page) (commit (string-append "rocm-" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1rirvc8h0ahicw1vw4js4jq5gw25x47gmg3gczmyz97c72wvgfiv")) (patches (search-patches ;; Do not install libOpenCL, which ocl-icd provides. "rocm-opencl-runtime-4.3-noopencl.patch" ;; Guix includes a program clinfo already. "rocm-opencl-runtime-4.3-noclinfo.patch")))) (build-system cmake-build-system) (arguments (list #:tests? #f ; Not sure how to run them. #:configure-flags #~(list (string-append "-DAMD_OPENCL_PATH=" #$(package-source this-package)) ;; The ROCclr source is needed to build the runtime. (string-append "-DROCCLR_PATH=" #$rocclr-src) (string-append "-DROCM_PATH=" #$output)) #:phases #~(modify-phases %standard-phases (add-after 'install 'create-icd ;; Manually install ICD, which simply consists of dumping ;; the path of the .so into the correct file. (lambda* (#:key outputs #:allow-other-keys) (let* ((vendors (string-append #$output "/etc/OpenCL/vendors")) (sopath (string-append #$output "/lib/libamdocl64.so"))) (mkdir-p vendors) (with-output-to-file (string-append vendors "/amdocl64.icd") (lambda _ (display sopath))))))))) (inputs (list glew mesa numactl opencl-icd-loader rocm-comgr rocr-runtime)) (synopsis "ROCm OpenCL Runtime") (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 "0hdfbvn55h5lk5s8vqlmri5r94vlas8v8yjxwd9d70igslk0kr67")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; No tests. #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-binary-paths (lambda* (#:key inputs #:allow-other-keys) (substitute* "rocminfo.cc" (("lsmod") (string-append (assoc-ref inputs "kmod") "/bin/lsmod")) (("grep") (which "grep")))))))) (inputs (list rocr-runtime kmod)) (home-page "https://github.com/RadeonOpenCompute/rocminfo") (synopsis "ROCm Application for Reporting System Info") (description "List @acronym{HSA,Heterogeneous System Architecture} Agents available to ROCm and show their properties.") (license license:ncsa))) (define-public rocm-bandwidth-test (package (name "rocm-bandwidth-test") (version %rocm-version) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/RadeonOpenCompute/rocm_bandwidth_test.git") (commit (string-append "rocm-" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0rnn2ms68mvzpcp31dk304sfqnv352i7vb48k7rw3qjahhrjm48c")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; No tests. (inputs (list rocr-runtime)) (home-page "https://github.com/RadeonOpenCompute/rocm_bandwidth_test") (synopsis "Bandwidth test for ROCm") (description "RocBandwidthTest is designed to capture the performance characteristics of buffer copying and kernel read/write operations. The help screen of the benchmark shows various options one can use in initiating cop/read/writer operations. In addition one can also query the topology of the system in terms of memory pools and their agents.") (license license:ncsa)))