summaryrefslogtreecommitdiff
path: root/guix/scripts/pack.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-03-23 11:47:32 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-04-02 14:42:20 +0300
commit63102406f22412bb922de5549deb89d3594a38c0 (patch)
tree747dc2542233b22cb05082ea731ffa4c92eb9510 /guix/scripts/pack.scm
parent6800c79701abfc90eecc1d8fc4b217d5adf6263a (diff)
downloadguix-patches-63102406f22412bb922de5549deb89d3594a38c0.tar
guix-patches-63102406f22412bb922de5549deb89d3594a38c0.tar.gz
guix: Compress and decompress xz archives in parallel.
* guix/scripts/pack.scm (%compressors): Add flag '-T0' when calling "xz". * guix/utils.scm (decompressed-port, compressed-port, compressed-output-port): Same.
Diffstat (limited to 'guix/scripts/pack.scm')
-rw-r--r--guix/scripts/pack.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 626c592e1c..9e91bc22ac 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2017 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -59,7 +60,7 @@
(compressor "lzip" "lz"
#~(#+(file-append lzip "/bin/lzip") "-9"))
(compressor "xz" "xz"
- #~(#+(file-append xz "/bin/xz") "-e"))
+ #~(#+(file-append xz "/bin/xz") "-e -T0"))
(compressor "bzip2" "bz2"
#~(#+(file-append bzip2 "/bin/bzip2") "-9"))))