zlgopen / awtk-linux-fb

awtk port for linux framebuffer
108 stars 49 forks source link

feature request multi-process build #84

Open fatalfeel opened 2 years ago

fatalfeel commented 2 years ago

Need multi-process build - its very fast to build many xxxx.c at the same time

xianjimli commented 2 years ago
scons -j4
fatalfeel commented 2 years ago

thank u sir

CPU_NUM=$(grep processor /proc/cpuinfo | awk '{field=$NF};END{print field+1}') echo "CPU number = "$CPU_NUM

make -j$CPU_NUM

how about this way add into scons