riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.14k stars 447 forks source link

how can we use make jobs (make -j) #250

Closed ghost closed 6 years ago

ghost commented 6 years ago

Is there a way I can pass make -j8 or similar into build-rv32ima.sh or do our own custom build instructions that use parallel make to speed up the process for our CI environment? Thanks.

jim-wilson commented 6 years ago

You can set the MAKEFLAGS environment variable to include the make options you want. Or you can just edit the build.common file because there is only one place where make is called to do builds.

ghost commented 6 years ago

Thanks!