[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: |
Thu, 2 Sep 2021 17:55:25 -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")
- 162/377: gnu: emacs-guix: Update to 0.5.2.5-c9aef52., (continued)
- 162/377: gnu: emacs-guix: Update to 0.5.2.5-c9aef52., guix-commits, 2021/09/02
- 164/377: gnu: python-pytest-timeout: Update to 1.4.2., guix-commits, 2021/09/02
- 166/377: gnu: python-greenlet: Update to 1.1.1., guix-commits, 2021/09/02
- 170/377: gnu: Add r-cytonorm., guix-commits, 2021/09/02
- 171/377: gnu: Add python-strawc., guix-commits, 2021/09/02
- 172/377: gnu: Add python-hmmlearn., guix-commits, 2021/09/02
- 176/377: gnu: java-opening-hours-parser: Update to 0.23.0., guix-commits, 2021/09/02
- 174/377: gnu: postgresql-10: Update to 10.18., guix-commits, 2021/09/02
- 177/377: gnu: josm: Update to 18118., guix-commits, 2021/09/02
- 180/377: gnu: opencl-clhpp: Update to 2.0.15., guix-commits, 2021/09/02
- 181/377: gnu: clinfo: Update to 3.0.21.02.21 and simplify package.,
guix-commits <=
- 186/377: gnu: python-pyopencl: Update to 2021.2.6., guix-commits, 2021/09/02
- 185/377: gnu: python-pytools: Update to 2021.2.7., guix-commits, 2021/09/02
- 187/377: build: Distribute tests/go.scm even when the host lacks guile-lib., guix-commits, 2021/09/02
- 189/377: gnu: Add lsofgraph., guix-commits, 2021/09/02
- 194/377: Migrate to the new 'targets' field of bootloader-configuration., guix-commits, 2021/09/02
- 192/377: gnu: Add emacs-company-org-block., guix-commits, 2021/09/02
- 191/377: zsh completion: Add missing commands and arguments., guix-commits, 2021/09/02
- 195/377: gnu: Add python-commentjson., guix-commits, 2021/09/02
- 198/377: gnu: Add python-ncclient., guix-commits, 2021/09/02
- 201/377: gnu: python-execnet: Update to 1.9.0 and enable tests., guix-commits, 2021/09/02