Skip to content

Commit ecb9ff8

Browse files
committed
merge bitcoin#25458: parallelize LIEF build
1 parent e91a62b commit ecb9ff8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

contrib/guix/manifest.scm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,13 @@ inspecting signatures in Mach-O binaries.")
599599
(base32
600600
"026jchj56q25v6gc0754dj9cj5hz5zaza8ij93y5ga94w20kzm9q"))))
601601
(build-system python-build-system)
602+
(arguments
603+
`(#:phases
604+
(modify-phases %standard-phases
605+
(add-after 'unpack 'parallel-jobs
606+
;; build with multiple cores
607+
(lambda _
608+
(substitute* "setup.py" (("self.parallel if self.parallel else 1") (number->string (parallel-job-count)))))))))
602609
(native-inputs
603610
`(("cmake" ,cmake)))
604611
(home-page "https://github.com/lief-project/LIEF")

0 commit comments

Comments
 (0)