make hwacha smaller

This commit is contained in:
abejgonzalez
2019-05-13 09:50:55 -07:00
parent 2697cdc29b
commit 2d644f1352
3 changed files with 12 additions and 6 deletions

View File

@@ -2,7 +2,8 @@
# create the different verilator builds
# 1st argument is the subproject
# 2nd argument is the config (can be unspecified)
# 2nd argument is the config package (can be unspecified)
# 3nd argument is the config (can be unspecified)
# turn echo on and error on earliest command
set -ex
@@ -19,8 +20,8 @@ make clean
if [ $# -ne 0 ]; then
if [ $# -eq 1 ]; then
make SUB_PROJECT=$1 JAVA_ARGS="-Xmx2G -Xss8M"
elif [ $# -eq 2 ]; then
make SUB_PROJECT=$1 CONFIG=$2 JAVA_ARGS="-Xmx2G -Xss8M"
elif [ $# -eq 3 ]; then
make SUB_PROJECT=$1 CONFIG_PACKAGE=$2 CONFIG=$3 JAVA_ARGS="-Xmx2G -Xss8M"
else
exit 1 # wrong amount of args
fi