mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
guix: parallelize LIEF build
This commit is contained in:
parent
b9122e95f0
commit
8d25926643
1 changed files with 7 additions and 0 deletions
|
@ -215,6 +215,13 @@ chain for " target " development."))
|
|||
(base32
|
||||
"026jchj56q25v6gc0754dj9cj5hz5zaza8ij93y5ga94w20kzm9q"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'parallel-jobs
|
||||
;; build with multiple cores
|
||||
(lambda _
|
||||
(substitute* "setup.py" (("self.parallel if self.parallel else 1") (number->string (parallel-job-count)))))))))
|
||||
(native-inputs
|
||||
`(("cmake" ,cmake)))
|
||||
(home-page "https://github.com/lief-project/LIEF")
|
||||
|
|
Loading…
Add table
Reference in a new issue