mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-24 07:51:24 +02:00
guix: parallelize LIEF build
This commit is contained in:
parent
b9122e95f0
commit
8d25926643
@ -215,6 +215,13 @@ chain for " target " development."))
|
|||||||
(base32
|
(base32
|
||||||
"026jchj56q25v6gc0754dj9cj5hz5zaza8ij93y5ga94w20kzm9q"))))
|
"026jchj56q25v6gc0754dj9cj5hz5zaza8ij93y5ga94w20kzm9q"))))
|
||||||
(build-system python-build-system)
|
(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
|
(native-inputs
|
||||||
`(("cmake" ,cmake)))
|
`(("cmake" ,cmake)))
|
||||||
(home-page "https://github.com/lief-project/LIEF")
|
(home-page "https://github.com/lief-project/LIEF")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user