mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
v8: use 6 threads
This commit is contained in:
parent
ff73e956ad
commit
77244bae2a
1 changed files with 4 additions and 0 deletions
|
@ -4,7 +4,11 @@ from lilaclib import *
|
|||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
# run 6 jobs in parallel on our server.
|
||||
run_cmd(['sh', '-c', "sed -i 's|ninja|ninja -j6|g' PKGBUILD"])
|
||||
|
||||
def post_build():
|
||||
# don't fix threads in PKGBUILD.
|
||||
run_cmd(['sh', '-c', "sed -i 's|ninja -j6|ninja|g' PKGBUILD"])
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
|
|
Loading…
Add table
Reference in a new issue