mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-05 10:55:24 +01:00
Introduce parallelism
By using --cores argument to rootfs.py, JOBS= is set in the
live-bootstrap environment, and -j${JOBS} is used on builds. This speeds
larger packages up significantly.
A fair number of packages do not build properly with parallelism. Most
of these, at least for now, are disabled with -j1.
This commit is contained in:
parent
f2a0d74bfb
commit
d98f97e214
74 changed files with 146 additions and 95 deletions
|
|
@ -36,11 +36,11 @@ src_configure() {
|
|||
src_compile() {
|
||||
# Build pgen
|
||||
pushd Parser
|
||||
make pgen
|
||||
make -j1 pgen
|
||||
popd
|
||||
# Regen graminit.c and graminit.h
|
||||
pushd Grammar
|
||||
make graminit.c
|
||||
make -j1 graminit.c
|
||||
popd
|
||||
|
||||
# Regenerate some Python scripts using the other regenerated files
|
||||
|
|
@ -56,7 +56,7 @@ src_compile() {
|
|||
mv Lib/token.py.new Lib/token.py
|
||||
|
||||
# Now build the main program
|
||||
make
|
||||
make -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
|
|||
|
|
@ -35,11 +35,11 @@ src_configure() {
|
|||
src_compile() {
|
||||
# Build pgen
|
||||
pushd Parser
|
||||
make pgen
|
||||
make -j1 pgen
|
||||
popd
|
||||
# Regen graminit.c and graminit.h
|
||||
pushd Grammar
|
||||
make graminit.c
|
||||
make -j1 graminit.c
|
||||
popd
|
||||
|
||||
# Regenerate some Python scripts using the other regenerated files
|
||||
|
|
@ -55,7 +55,7 @@ src_compile() {
|
|||
mv Lib/token.py.new Lib/token.py
|
||||
|
||||
# Now build the main program
|
||||
make
|
||||
make -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue