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.
This commit is contained in:
parent
3ca6c1a720
commit
bfa3caa2fb
1 changed files with 6 additions and 4 deletions
|
@ -627,10 +627,12 @@ data on your platform, so the seed itself will be as random as possible.
|
||||||
((" -march=native") ""))
|
((" -march=native") ""))
|
||||||
#t))
|
#t))
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-after 'build 'build-shared
|
(replace 'build
|
||||||
(lambda _
|
;; By default, only the static library is built.
|
||||||
;; By default, only the static library is built.
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||||
(invoke "make" "shared")))
|
(apply invoke "make" "shared"
|
||||||
|
"-j" (number->string (parallel-job-count))
|
||||||
|
make-flags)))
|
||||||
(add-after 'install 'install-shared-library-links
|
(add-after 'install 'install-shared-library-links
|
||||||
;; By default, only .so and .so.x.y.z are installed.
|
;; By default, only .so and .so.x.y.z are installed.
|
||||||
;; Create all the ‘intermediates’ expected by dependent packages.
|
;; Create all the ‘intermediates’ expected by dependent packages.
|
||||||
|
|
Reference in a new issue