1
0
Fork 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
1 changed files with 2 additions and 1 deletions

View File

@ -37,9 +37,10 @@ of riscv-tools:
$ cd rocket-chip/riscv-tools
$ git submodule update --init --recursive
$ export RISCV=/path/to/install/riscv/toolchain
$ export MAKEFLAGS="$MAKEFLAGS -jN" # Assuming you have N cores on your host system
$ ./build.sh
$ ./build-rv32ima.sh (if you are using RV32).
For more information (or if you run into any issues), please consult the
[riscv-tools/README](https://github.com/riscv/riscv-tools/blob/master/README.md).