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:
parent
d1bb82a1f8
commit
859416de73
@ -37,9 +37,10 @@ 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).
|
||||||
|
|
||||||
For more information (or if you run into any issues), please consult the
|
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).
|
[riscv-tools/README](https://github.com/riscv/riscv-tools/blob/master/README.md).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user