guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: boost: Add -j for build.


From: Eric Bavier
Subject: 03/03: gnu: boost: Add -j for build.
Date: Fri, 23 Sep 2016 03:36:48 +0000 (UTC)

bavier pushed a commit to branch master
in repository guix.

commit 1a0ae573c7f04c2c9d1adb10ddeb816628f41c22
Author: Eric Bavier <address@hidden>
Date:   Thu Sep 22 22:34:04 2016 -0500

    gnu: boost: Add -j for build.
    
    * gnu/packages/boost.scm (boost)[arguments]: Add -j flag for build
    phase.
---
 gnu/packages/boost.scm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index ccc1f06..ab31fa8 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -90,7 +90,9 @@
          (replace
              'build
            (lambda* (#:key outputs make-flags #:allow-other-keys)
-             (zero? (apply system* "./b2" make-flags))))
+             (zero? (apply system* "./b2"
+                           (format #f "-j~a" (parallel-job-count))
+                           make-flags))))
          (replace
              'install
            (lambda* (#:key outputs make-flags #:allow-other-keys)



reply via email to

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