[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: clinfo: Update to 3.0.21.02.21 and simplify package.
From: |
guix-commits |
Subject: |
03/08: gnu: clinfo: Update to 3.0.21.02.21 and simplify package. |
Date: |
Fri, 27 Aug 2021 14:52:04 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit d8c63f8771242bf8954445a4850539686cae500e
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Wed Aug 11 09:42:44 2021 +0200
gnu: clinfo: Update to 3.0.21.02.21 and simplify package.
* gnu/packages/opencl.scm (clinfo) [version]: Update to 3.0.21.02.21.
[arguments]: Simplify #:phases by adding make arguments to #:make-flags.
---
gnu/packages/opencl.scm | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index 484a766..ee88d92 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -23,6 +23,7 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system python)
#:use-module (guix download)
+ #:use-module (guix utils)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@@ -160,7 +161,7 @@ Loader as provided by this package.")
(define-public clinfo
(package
(name "clinfo")
- (version "2.2.18.04.06")
+ (version "3.0.21.02.21")
(source
(origin
(method git-fetch)
@@ -169,26 +170,17 @@ Loader as provided by this package.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0y2q0lz5yzxy970b7w7340vp4fl25vndahsyvvrywcrn51ipgplx"))))
+ (base32 "1sfxp6ai83i0vwdg7b05h0k07q6873q1z1avnyksj5zmzdnxya6j"))))
(build-system gnu-build-system)
(native-inputs
`(("opencl-headers" ,opencl-headers)))
(inputs
`(("ocl-icd" ,ocl-icd)))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (replace 'build
- (lambda _
- (let ((cores (number->string (parallel-job-count))))
- (setenv "CC" "gcc")
- (invoke "make" "-j" cores))))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "make" "install" (string-append
- "PREFIX="
- (assoc-ref outputs "out"))))))
+ `(#:make-flags
+ (list ,(string-append "CC=" (cc-for-target))
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases (modify-phases %standard-phases (delete 'configure))
#:tests? #f))
(home-page "https://github.com/Oblomov/clinfo")
(synopsis "Print information about OpenCL platforms and devices")
- branch master updated (ad7d478 -> 9c7c3f7), guix-commits, 2021/08/27
- 01/08: gnu: opencl-headers: Update to 2021.06.30 and switch to CMake., guix-commits, 2021/08/27
- 04/08: gnu: Add opencl-icd-loader., guix-commits, 2021/08/27
- 06/08: gnu: Add clpeak., guix-commits, 2021/08/27
- 02/08: gnu: opencl-clhpp: Update to 2.0.15., guix-commits, 2021/08/27
- 03/08: gnu: clinfo: Update to 3.0.21.02.21 and simplify package.,
guix-commits <=
- 05/08: gnu: ocl-icd: Replace with opencl-icd-loader., guix-commits, 2021/08/27
- 08/08: gnu: python-pyopencl: Update to 2021.2.6., guix-commits, 2021/08/27
- 07/08: gnu: python-pytools: Update to 2021.2.7., guix-commits, 2021/08/27