|
@@ -53,11 +53,14 @@ if [[ $1 = '' ]]; then
|
|
echo
|
|
echo
|
|
echo " * -q can be used to run/rerun a single query"
|
|
echo " * -q can be used to run/rerun a single query"
|
|
echo " * -l is used to generate a detailed log for debugging"
|
|
echo " * -l is used to generate a detailed log for debugging"
|
|
|
|
+ echo " * -p changes the number of parallel compiles"
|
|
|
|
+ echo " * -f allows you to add a debug option"
|
|
|
|
+ echo " * -x allows you to pass through an arbitrary option"
|
|
echo
|
|
echo
|
|
exit -1
|
|
exit -1
|
|
fi
|
|
fi
|
|
if [[ $* != '' ]]; then
|
|
if [[ $* != '' ]]; then
|
|
- while getopts "t:c:I:e:d:f:q:l:x:v" opt; do
|
|
|
|
|
|
+ while getopts "t:c:I:e:d:f:q:l:p:x:v" opt; do
|
|
case $opt in
|
|
case $opt in
|
|
t)
|
|
t)
|
|
target_dir=$OPTARG
|
|
target_dir=$OPTARG
|
|
@@ -86,6 +89,9 @@ if [[ $* != '' ]]; then
|
|
x)
|
|
x)
|
|
userflags="$userflags $OPTARG"
|
|
userflags="$userflags $OPTARG"
|
|
;;
|
|
;;
|
|
|
|
+ p)
|
|
|
|
+ np="$OPTARG"
|
|
|
|
+ ;;
|
|
v)
|
|
v)
|
|
valgrind="valgrind --leak-check=full --suppressions=suppressions.txt "
|
|
valgrind="valgrind --leak-check=full --suppressions=suppressions.txt "
|
|
eclcc="$valgrind $eclcc"
|
|
eclcc="$valgrind $eclcc"
|