mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
compression: Enable zstd parallel compression.
* gnu/compression.scm (%compressors) [zstd]: Provide the --threads argument. Reviewed-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I4e8dfe725d1b0721c0016c3013b9e609fee94367
This commit is contained in:
parent
e91478e911
commit
8e57c5d1f3
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@
|
||||||
;; The default level 3 compresses better than gzip in a
|
;; The default level 3 compresses better than gzip in a
|
||||||
;; fraction of the time, while the highest level 19
|
;; fraction of the time, while the highest level 19
|
||||||
;; (de)compresses more slowly and worse than xz.
|
;; (de)compresses more slowly and worse than xz.
|
||||||
#~(list #+(file-append zstd "/bin/zstd") "-3"))
|
#~(list #+(file-append zstd "/bin/zstd") "-3"
|
||||||
|
(format #f "--threads=~a" (parallel-job-count))))
|
||||||
(compressor "none" "" #f)))
|
(compressor "none" "" #f)))
|
||||||
|
|
||||||
(define (lookup-compressor name)
|
(define (lookup-compressor name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue