diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-01-02 18:05:19 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-01-08 15:45:01 +0100 |
| commit | 91d340fe46bca0a421cb82868753cfa491732210 (patch) | |
| tree | cceed7bcfd6109c4663aecbb27cd7a1afc4259f9 /gnu/packages | |
| parent | 3adcd241fa6dcd5b89c462b2436d28e65b5bf987 (diff) | |
gnu: cpuinfo: Update to 0.0-6.b3b2596.
* gnu/packages/parallel.scm (cpuinfo): Update to 0.0-6.b3b2596.
[native-inputs]: Add python-wrapper.
[arguments]<#:phases>: Remove ’skip-bad-test.
<#:configure-flags>: Use G-Expressions.
Merges guix/guix#5315
Change-Id: I3e69d6aea35656beda8992bab5114ddddad03872
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/parallel.scm | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 07d1a9d229a..eb20ef1c8dd 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm | |||
| @@ -625,12 +625,11 @@ features.") | |||
| 625 | 625 | ||
| 626 | (define-public cpuinfo | 626 | (define-public cpuinfo |
| 627 | ;; There's currently no tag on this repo. | 627 | ;; There's currently no tag on this repo. |
| 628 | (let ((version "0.0") | 628 | (let ((revision "6") |
| 629 | (revision "5") | 629 | (commit "b3b25967b5b80406304d575321e572c5f9e5e3c4")) |
| 630 | (commit "b73ae6ce38d5dd0b7fe46dbe0a4b5f4bab91c7ea")) | ||
| 631 | (package | 630 | (package |
| 632 | (name "cpuinfo") | 631 | (name "cpuinfo") |
| 633 | (version (git-version version revision commit)) | 632 | (version (git-version "0.0" revision commit)) |
| 634 | (home-page "https://github.com/pytorch/cpuinfo") | 633 | (home-page "https://github.com/pytorch/cpuinfo") |
| 635 | (source (origin | 634 | (source (origin |
| 636 | (method git-fetch) | 635 | (method git-fetch) |
| @@ -638,7 +637,7 @@ features.") | |||
| 638 | (file-name (git-file-name name version)) | 637 | (file-name (git-file-name name version)) |
| 639 | (sha256 | 638 | (sha256 |
| 640 | (base32 | 639 | (base32 |
| 641 | "0ibba4jssvjyd147dyj5lzijgxhmjxf0ishl1wykka1rblmxmli4")))) | 640 | "02i4sf6bgw25xsaarbialw9n9plqxqblvh7pjz2sw6cvz1r5n6c6")))) |
| 642 | (build-system cmake-build-system) | 641 | (build-system cmake-build-system) |
| 643 | (arguments | 642 | (arguments |
| 644 | (list | 643 | (list |
| @@ -647,18 +646,12 @@ features.") | |||
| 647 | #:tests? (not (or (target-aarch64?) | 646 | #:tests? (not (or (target-aarch64?) |
| 648 | (target-riscv64?))) | 647 | (target-riscv64?))) |
| 649 | #:configure-flags | 648 | #:configure-flags |
| 650 | '(list "-DBUILD_SHARED_LIBS=ON" | 649 | #~(list "-DBUILD_SHARED_LIBS=ON" |
| 651 | "-DUSE_SYSTEM_LIBS=ON") | 650 | "-DUSE_SYSTEM_LIBS=ON"))) |
| 652 | #:phases | ||
| 653 | '(modify-phases %standard-phases | ||
| 654 | (add-after 'unpack 'skip-bad-test | ||
| 655 | (lambda _ | ||
| 656 | (substitute* "test/init.cc" | ||
| 657 | (("TEST\\(CORE, known_uarch\\) \\{" m) | ||
| 658 | (string-append m "\ | ||
| 659 | GTEST_SKIP() << \"See https://github.com/pytorch/cpuinfo/issues/132\";")))))))) | ||
| 660 | (inputs | 651 | (inputs |
| 661 | (list googletest-1.13 googlebenchmark)) | 652 | (list googletest-1.13 googlebenchmark)) |
| 653 | (native-inputs | ||
| 654 | (list python-wrapper)) | ||
| 662 | (synopsis "C/C++ library to obtain information about the CPU") | 655 | (synopsis "C/C++ library to obtain information about the CPU") |
| 663 | (description | 656 | (description |
| 664 | "The cpuinfo library provides a C/C++ and a command-line interface to | 657 | "The cpuinfo library provides a C/C++ and a command-line interface to |
