Message ID | af3992ac362f996fe5eea8c63e787dba929b9b5c.1704484373.git.maxim.cournoyer@gmail.com |
---|---|
State | New |
Headers | show |
Series | Compress man pages using zstd | expand |
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis: > * gnu/compression.scm (%compressors) [zstd]: Provide the --threads argument. > > Change-Id: I4e8dfe725d1b0721c0016c3013b9e609fee94367 LGTM.
diff --git a/gnu/compression.scm b/gnu/compression.scm index 0418e80a15..6e48de5979 100644 --- a/gnu/compression.scm +++ b/gnu/compression.scm @@ -56,7 +56,8 @@ (define %compressors ;; The default level 3 compresses better than gzip in a ;; fraction of the time, while the highest level 19 ;; (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))) (define (lookup-compressor name)