Skip to content

Commit 8d25926

Browse files
committed
guix: parallelize LIEF build
1 parent b9122e9 commit 8d25926

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
@@ -215,6 +215,13 @@ chain for " target " development."))
215215
(base32
216216
"026jchj56q25v6gc0754dj9cj5hz5zaza8ij93y5ga94w20kzm9q"))))
217217
(build-system python-build-system)
218+
(arguments
219+
`(#:phases
220+
(modify-phases %standard-phases
221+
(add-after 'unpack 'parallel-jobs
222+
;; build with multiple cores
223+
(lambda _
224+
(substitute* "setup.py" (("self.parallel if self.parallel else 1") (number->string (parallel-job-count)))))))))
218225
(native-inputs
219226
`(("cmake" ,cmake)))
220227
(home-page "https://github.com/lief-project/LIEF")

0 commit comments

Comments
 (0)