1
0

Show how to build riscv-tools in parallel (#530)

Make it easier to build riscv-tools faster on multicore machines
This commit is contained in:
edwardcwang 2017-03-01 15:54:34 -08:00 committed by Andrew Waterman
parent d1bb82a1f8
commit 859416de73

View File

@ -37,6 +37,7 @@ of riscv-tools:
$ cd rocket-chip/riscv-tools $ cd rocket-chip/riscv-tools
$ git submodule update --init --recursive $ git submodule update --init --recursive
$ export RISCV=/path/to/install/riscv/toolchain $ export RISCV=/path/to/install/riscv/toolchain
$ export MAKEFLAGS="$MAKEFLAGS -jN" # Assuming you have N cores on your host system
$ ./build.sh $ ./build.sh
$ ./build-rv32ima.sh (if you are using RV32). $ ./build-rv32ima.sh (if you are using RV32).