sophgo / bootloader-riscv

15 stars 37 forks source link

scripts: Parallelize building GNU toolchain #85

Closed johndeppe closed 3 months ago

johndeppe commented 3 months ago

Building the riscv-gnu-toolchain is not parallelized, leading to relatively slow build times. This commit uses the make -j$(nproc) convention to parallelize building GCC and friends, as is done elsewhere in the script. For my machine, build time improves from 87 minutes to 15.

Resolves: #84