guix: parallelize LIEF build

pull/25458/head
fanquake 2 years ago
parent b9122e95f0
commit 8d25926643
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -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…
Cancel
Save