[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
181/377: gnu: clinfo: Update to 3.0.21.02.21 and simplify package.
From: |
guix-commits |
Subject: |
181/377: gnu: clinfo: Update to 3.0.21.02.21 and simplify package. |
Date: |
Sun, 5 Sep 2021 10:07:39 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
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")
- 160/377: gnu: mc: Update to 4.8.27., (continued)
- 160/377: gnu: mc: Update to 4.8.27., guix-commits, 2021/09/05
- 167/377: gnu: emacs-auctex: Update to 13.0.14., guix-commits, 2021/09/05
- 169/377: gnu: Add r-emdist., guix-commits, 2021/09/05
- 170/377: gnu: Add r-cytonorm., guix-commits, 2021/09/05
- 172/377: gnu: Add python-hmmlearn., guix-commits, 2021/09/05
- 173/377: gnu: postgresql-11: Update to 11.13., guix-commits, 2021/09/05
- 175/377: gnu: postgresql-9.6: Update to 9.6.23., guix-commits, 2021/09/05
- 176/377: gnu: java-opening-hours-parser: Update to 0.23.0., guix-commits, 2021/09/05
- 177/377: gnu: josm: Update to 18118., guix-commits, 2021/09/05
- 179/377: gnu: opencl-headers: Update to 2021.06.30 and switch to CMake., guix-commits, 2021/09/05
- 181/377: gnu: clinfo: Update to 3.0.21.02.21 and simplify package.,
guix-commits <=
- 182/377: gnu: Add opencl-icd-loader., guix-commits, 2021/09/05
- 184/377: gnu: Add clpeak., guix-commits, 2021/09/05
- 186/377: gnu: python-pyopencl: Update to 2021.2.6., guix-commits, 2021/09/05
- 188/377: gnu: mame: Update to 0.235., guix-commits, 2021/09/05
- 189/377: gnu: Add lsofgraph., guix-commits, 2021/09/05
- 191/377: zsh completion: Add missing commands and arguments., guix-commits, 2021/09/05
- 194/377: Migrate to the new 'targets' field of bootloader-configuration., guix-commits, 2021/09/05
- 195/377: gnu: Add python-commentjson., guix-commits, 2021/09/05
- 196/377: gnu: Add python-resolvelib., guix-commits, 2021/09/05
- 197/377: gnu: Add python-resolvelib-0.5., guix-commits, 2021/09/05