merge bitcoin#25458: parallelize LIEF build

This commit is contained in:
Kittywhiskers Van Gogh 2022-06-23 09:25:25 +01:00
parent e91a62be3c
commit ecb9ff8062

View File

@ -599,6 +599,13 @@ inspecting signatures in Mach-O binaries.")
(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")