diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-01-16 22:41:14 -0500 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:22 +0200 |
| commit | 8e57c5d1f3aaa789ad6aa0450c4235f8c4245f3a (patch) | |
| tree | 21c4f57c80bcf7afef1af03af7e3de17fcf2213a /gnu/compression.scm | |
| parent | e91478e9119ffb01f785d9b423158130aa1152e0 (diff) | |
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
Diffstat (limited to 'gnu/compression.scm')
| -rw-r--r-- | gnu/compression.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/compression.scm b/gnu/compression.scm index 0418e80a158..6e48de5979f 100644 --- a/gnu/compression.scm +++ b/gnu/compression.scm | |||
| @@ -56,7 +56,8 @@ | |||
| 56 | ;; The default level 3 compresses better than gzip in a | 56 | ;; The default level 3 compresses better than gzip in a |
| 57 | ;; fraction of the time, while the highest level 19 | 57 | ;; fraction of the time, while the highest level 19 |
| 58 | ;; (de)compresses more slowly and worse than xz. | 58 | ;; (de)compresses more slowly and worse than xz. |
| 59 | #~(list #+(file-append zstd "/bin/zstd") "-3")) | 59 | #~(list #+(file-append zstd "/bin/zstd") "-3" |
| 60 | (format #f "--threads=~a" (parallel-job-count)))) | ||
| 60 | (compressor "none" "" #f))) | 61 | (compressor "none" "" #f))) |
| 61 | 62 | ||
| 62 | (define (lookup-compressor name) | 63 | (define (lookup-compressor name) |
