mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05: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 @@ (define %compressors
|
||||||
;; 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…
Reference in a new issue