From 8d25926643cb84805bf3a9fbb289b269198898a8 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 23 Jun 2022 09:25:25 +0100 Subject: [PATCH] guix: parallelize LIEF build --- contrib/guix/manifest.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contrib/guix/manifest.scm b/contrib/guix/manifest.scm index d35ad85e564..acb7ff99128 100644 --- a/contrib/guix/manifest.scm +++ b/contrib/guix/manifest.scm @@ -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")