gnu: cpuinfo: Update to commit 05332fd.

Also disable tests on aarch64, because they fail in the build container.

* gnu/packages/parallel.scm (cpuinfo): Update to commit 05332fd.
[arguments]<#:tests?>: Disable on aarch64.
[supported-systems]: Remove field.
This commit is contained in:
David Elsing 2024-08-04 22:15:44 +00:00 committed by Ludovic Courtès
parent 003441743e
commit e5bf0cfa97
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -536,7 +536,7 @@ features.")
;; There's currently no tag on this repo.
(let ((version "0.0")
(revision "3")
(commit "aa4b2163b99ac9534194520f70b93eeefb0b3b4e"))
(commit "05332fd802d9109a2a151ec32154b107c1e5caf9"))
(package
(name "cpuinfo")
(version (git-version version revision commit))
@ -547,10 +547,13 @@ features.")
(file-name (git-file-name name version))
(sha256
(base32
"12x4krkyzxngf1l2ck33lnsp8pyzf6gyjj9mp9cnka9mw3h6617m"))))
"0w0kfc1fn9viirkhbr8dgfy9m5clfsg3k9p6kdxhzqpyjhgd252n"))))
(build-system cmake-build-system)
(arguments
(list
;; cpuinfo does not work in the build container for aarch64:
;; https://github.com/pytorch/cpuinfo/issues/143
#:tests? (not (target-aarch64?))
#:configure-flags
'(list "-DBUILD_SHARED_LIBS=ON"
"-DUSE_SYSTEM_LIBS=ON")
@ -569,9 +572,6 @@ GTEST_SKIP() << \"See https://github.com/pytorch/cpuinfo/issues/132\";"))))))))
"The cpuinfo library provides a C/C++ and a command-line interface to
obtain information about the CPU being used: supported instruction set,
processor name, cache information, and topology information.")
;; On aarch64-linux, there is a bug reported upstream:
;; https://github.com/pytorch/cpuinfo/issues/14
(supported-systems '("armhf-linux" "i686-linux" "x86_64-linux"))
(license license:bsd-2))))
(define-public clog