[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: crypto++: Build in parallel.
From: |
guix-commits |
Subject: |
03/09: gnu: crypto++: Build in parallel. |
Date: |
Wed, 19 Feb 2020 18:46:37 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit bfa3caa2fb1436c4d0e24036a9ea60ccc19aabae
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Wed Feb 19 18:46:04 2020 +0100
gnu: crypto++: Build in parallel.
* gnu/packages/crypto.scm (crypto++)[arguments]: Make ‘build-shared’
the main ‘build’ phase. Respect MAKE-FLAGS and PARALLEL-JOB-COUNT.
---
gnu/packages/crypto.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 8d81fa7..aa65774 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -627,10 +627,12 @@ data on your platform, so the seed itself will be as
random as possible.
((" -march=native") ""))
#t))
(delete 'configure)
- (add-after 'build 'build-shared
- (lambda _
- ;; By default, only the static library is built.
- (invoke "make" "shared")))
+ (replace 'build
+ ;; By default, only the static library is built.
+ (lambda* (#:key (make-flags '()) #:allow-other-keys)
+ (apply invoke "make" "shared"
+ "-j" (number->string (parallel-job-count))
+ make-flags)))
(add-after 'install 'install-shared-library-links
;; By default, only .so and .so.x.y.z are installed.
;; Create all the ‘intermediates’ expected by dependent packages.
- branch master updated (f55084b -> 00c967f), guix-commits, 2020/02/19
- 02/09: gnu: crypto++: Don't hard-code VERSION., guix-commits, 2020/02/19
- 04/09: gnu: crypto++: Returt #t from all phases., guix-commits, 2020/02/19
- 03/09: gnu: crypto++: Build in parallel.,
guix-commits <=
- 05/09: gnu: crypto++: Update to 8.2.0., guix-commits, 2020/02/19
- 01/09: gnu: libbytesize: Update to 2.2., guix-commits, 2020/02/19
- 06/09: gnu: munge: Update to 0.5.14., guix-commits, 2020/02/19
- 07/09: gnu: transset-df: Use HTTPS home page., guix-commits, 2020/02/19
- 08/09: gnu: python-scikit-image: Use HTTPS home page., guix-commits, 2020/02/19
- 09/09: gnu: js-selectize: Use HTTPS home page., guix-commits, 2020/02/19