diff options
author | fanquake <fanquake@gmail.com> | 2022-06-23 09:25:25 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-23 12:01:00 +0100 |
commit | 8d25926643cb84805bf3a9fbb289b269198898a8 (patch) | |
tree | a902594991648f89c1a768f145eb4cc8803650a6 /contrib/guix | |
parent | b9122e95f0f4ff5d2b2e21a5caf6c69d488c0347 (diff) |
guix: parallelize LIEF build
Diffstat (limited to 'contrib/guix')
-rw-r--r-- | contrib/guix/manifest.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/guix/manifest.scm b/contrib/guix/manifest.scm index d35ad85e56..acb7ff9912 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") |