riscv

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 90a954dd1ca4cce3846c5fde6e7b6c2bc9595e01
parent 911bfb87f7a8b5c9560a96cb4aad24d928a64053
Author: Brian Swetland <swetland@frotz.net>
Date:   Wed, 23 Oct 2019 11:08:53 -0700

infra: instructions for toolchain and compliance builds

Diffstat:
M.gitignore | 1+
MREADME.md | 31++++++++++++++++++++++++++++++-
2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -1,4 +1,5 @@ out/ bin/ gen/ +rvc/ .* diff --git a/README.md b/README.md @@ -1,2 +1,31 @@ # riscv -sandbox for some riscv experiments +A sandbox for some riscv experiments. + +### building the toolchain + +It's assumed there's a riscv32 toolchain in a sibling directory. + +This recipe grabs @travisg's scripts for building gcc and uses them + +``` +$ cd .. +$ git clone git@github.com:travisg/toolchains.git +$ cd toolchain +$ ./doit -a riscv32 -j32 -f +``` + +### building the project + +``` +$ make +``` + +### running the riscv compliance tests + +The scripts in `compliance/` check out, build, and run riscv compliance suite from github. + +``` +$ cd compliance +$ ./setup.sh +$ ./run.sh +```