guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: icecat-source: Enable xz parallel compression.


From: guix-commits
Subject: 01/02: gnu: icecat-source: Enable xz parallel compression.
Date: Tue, 14 Dec 2021 11:27:25 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 9ebeba825448c72ac13c37b4d9ddd6275bc801fb
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Dec 13 23:04:59 2021 -0500

    gnu: icecat-source: Enable xz parallel compression.
    
    * gnu/packages/gnuzilla.scm (icecat-source): Set XZ_DEFAULTS to
    %xz-parallel-args to enable parallel compression and hasten the build.  
Remove
    trailing #t.
---
 gnu/packages/gnuzilla.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 26fd5f9..27a9d09 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -873,6 +873,7 @@ in C/C++.")
 
                 (format #t "Packing IceCat source tarball...~%")
                 (force-output)
+                (setenv "XZ_DEFAULTS" (string-join (%xz-parallel-args)))
                 (invoke "tar" "cfa" #$output
                         ;; Avoid non-determinism in the archive.  We set the
                         ;; mtime of files in the archive to early 1980 because
@@ -883,9 +884,7 @@ in C/C++.")
                         "--owner=root:0"
                         "--group=root:0"
                         "--sort=name"
-                        icecat-dir)
-
-                #t))))))))
+                        icecat-dir)))))))))
 
 (define-public icecat
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]