blob: eae25c20478eb66dccf01194ae2675bd085bf4fd [file] [log] [blame] [view]
# Build kelvin_v2 toolchain in Rock linux
The following instructions describe how to build and export a toolchain for kelvin_v2
## Build and run docker image
```sh
$ docker build --no-cache -t toolchain_test -f toolchain_rockylinux_image.dockerfile .
```
open toolchain_test container in interactive mode and mount current directory
```sh
$ docker run -v `pwd`:/toolchain/build_scripts -w /toolchain/build_scripts toolchain_test bash kelvin_v2_toolchain_build.sh
```
The toolchain artifacts will be located at rv32_out