summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-16 21:10:28 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-17 11:11:15 +0200
commitea6d2582c891062304348775b18b69475f4016bf (patch)
treeab855338d21510d2966ad43502478419cc9d9fd8
parent96f3c7504a68ee0df1f7f4a74616dc0f0a7d9016 (diff)
gnu: cpuinfo: Update to 0.0-2.53298db.
* gnu/packages/parallel.scm (cpuinfo): Update to 0.0-2.53298db. [arguments]: Disable one test.
-rw-r--r--gnu/packages/parallel.scm20
1 files changed, 15 insertions, 5 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index 3c638e4ff9..60bf8409ee 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2015-2018, 2020-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2016, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2020, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018–2022 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -465,8 +465,8 @@ features.")
(define-public cpuinfo
;; There's currently no tag on this repo.
(let ((version "0.0")
- (revision "1")
- (commit "866ae6e5ffe93a1f63be738078da94cf3005cce2"))
+ (revision "2")
+ (commit "53298db833c5c5a1598639e9b47cc1a602bbac26"))
(package
(name "cpuinfo")
(version (git-version version revision commit))
@@ -477,10 +477,20 @@ features.")
(file-name (git-file-name name version))
(sha256
(base32
- "1lmsf4bpkm19a31i40qwcjn46qf7prggziv4pbsi695bkx5as71p"))
+ "01kfgxya2w32dz9bd3qm3i2d6nffw0qfyql11rxl7d3g830brj5k"))
(patches (search-patches "cpuinfo-system-libraries.patch"))))
(build-system cmake-build-system)
- (arguments '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
+ (arguments
+ (list
+ #:configure-flags '(list "-DBUILD_SHARED_LIBS=ON")
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'skip-bad-test
+ (lambda _
+ (substitute* "test/init.cc"
+ (("TEST\\(CORE, known_uarch\\) \\{" m)
+ (string-append m "\
+GTEST_SKIP() << \"See https://github.com/pytorch/cpuinfo/issues/132\";"))))))))
(inputs
(list googletest googlebenchmark))
(synopsis "C/C++ library to obtain information about the CPU")