aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2016-02-22 21:09:18 -0800
committerPalmer Dabbelt <palmer@dabbelt.com>2016-02-22 21:09:18 -0800
commitc5bad086cc5d01a32baf227b071e300e1d7ce3b8 (patch)
treef59bef9aad0c34c5c3e02b5526e43d227254c3cb
parent67c3cb768e169af323d78ed717749d454929c14e (diff)
downloadriscv-tools-c5bad086cc5d01a32baf227b071e300e1d7ce3b8.zip
riscv-tools-c5bad086cc5d01a32baf227b071e300e1d7ce3b8.tar.gz
riscv-tools-c5bad086cc5d01a32baf227b071e300e1d7ce3b8.tar.bz2
Install the tests along with the other tools
This allows Travis to cache the built tests more easily, and we're already doing this at the BWRC (where the tool builds were flaky).
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 022a4fc..129d09e 100755
--- a/build.sh
+++ b/build.sh
@@ -13,4 +13,7 @@ build_project riscv-gnu-toolchain --prefix=$RISCV
CC= CXX= build_project riscv-pk --prefix=$RISCV/riscv64-unknown-elf --host=riscv64-unknown-elf
build_tests
+mkdir -p $RISCV/riscv64-unknown-elf/share/riscv-tests
+cp -a riscv-tests/{isa,benchmarks} $RISCV/riscv64-unknown-elf/share/riscv-tests
+
echo -e "\\nRISC-V Toolchain installation completed!"