aboutsummaryrefslogtreecommitdiff
path: root/build.common
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2013-05-13 19:14:37 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2013-05-13 19:14:37 -0700
commit0897f7fccfb9ccbf923e67b2d175320239257b2e (patch)
treebe4327d50d8d5402a9a22ced34ffb008d88e9da8 /build.common
parent34288b2740903cca397ca550bde0f679e0830715 (diff)
downloadriscv-tools-0897f7fccfb9ccbf923e67b2d175320239257b2e.zip
riscv-tools-0897f7fccfb9ccbf923e67b2d175320239257b2e.tar.gz
riscv-tools-0897f7fccfb9ccbf923e67b2d175320239257b2e.tar.bz2
compile riscv-tests/benchmarks too
Diffstat (limited to 'build.common')
-rw-r--r--build.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.common b/build.common
index a32a671..b5685cd 100644
--- a/build.common
+++ b/build.common
@@ -35,7 +35,12 @@ function build_project {
function build_tests {
echo
cd riscv-tests/isa > /dev/null
- echo "Building project riscv-tests"
+ echo "Building project riscv-tests/isa"
+ make -j$JOBS clean > /dev/null
+ make -j$JOBS > /dev/null
+ cd - > /dev/null
+ cd riscv-tests/benchmarks > /dev/null
+ echo "Building project riscv-tests/benchmarks"
make -j$JOBS clean > /dev/null
make -j$JOBS > /dev/null
cd - > /dev/null