From 851f2184e47cf82d8ae5559229e6f675ce4aa1f1 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 2 Jan 2025 22:27:24 +0900 Subject: nongnu: linux-firmware: Compress using multiple cores. * nongnu/packages/patches/linux-firmware-parallel.patch: New patch. * nongnu/packages/linux.scm (linux-firmware) [source]: Apply it. [native-inputs]: Add parallel. Signed-off-by: John Kehayias --- nongnu/packages/linux.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'nongnu/packages/linux.scm') diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index 779e46a..fd9dc74 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -26,15 +26,17 @@ ;;; Copyright © 2023 Ada Stevenson ;;; Copyright © 2023 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2023 PRESFIL -;;; Copyright © 2024 Maxim Cournoyer +;;; Copyright © 2024, 2025 Maxim Cournoyer (define-module (nongnu packages linux) #:use-module (gnu packages) + #:use-module (nongnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages cpio) #:use-module (gnu packages linux) + #:use-module (gnu packages parallel) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix utils) @@ -320,7 +322,8 @@ stable, responsive and smooth desktop experience."))) "linux-firmware-" version ".tar.xz")) (sha256 (base32 - "1xcsx51z5x0bim10a391n3xk6k8a5v1a35j1gpwpdl3nhmq3bc1b")))) + "1xcsx51z5x0bim10a391n3xk6k8a5v1a35j1gpwpdl3nhmq3bc1b")) + (patches (nongnu-patches "linux-firmware-parallel.patch")))) (build-system gnu-build-system) (arguments (list #:tests? #f @@ -350,7 +353,7 @@ stable, responsive and smooth desktop experience."))) (setenv "ZSTD_NBTHREADS" num-jobs) (apply invoke "make" "install-zst" "-j" num-jobs make-flags))))))) - (native-inputs (list rdfind zstd)) + (native-inputs (list parallel rdfind zstd)) (home-page "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git") (synopsis "Nonfree firmware blobs for Linux") -- cgit v1.2.3