Skip to content

Commit

Permalink
Merge pull request #48 from asifmallik/force-remove-compile
Browse files Browse the repository at this point in the history
Add force flag to remove
  • Loading branch information
NigelSmart authored Aug 19, 2020
2 parents 73f3efa + 7b27bc3 commit 967f7bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions compile-new.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ do
fi
done

rm $target/*.asm
rm $target/*.bc
rm $target/*.sch
rm -f $target/*.asm
rm -f $target/*.bc
rm -f $target/*.sch
# Do not add in -D flag automatically as this is too aggressive a remover of instructions
printf "Running \n\t ./compile-mamba.py -A -n -r -u -s %s %s\n\n" $MAMBA_ARGS $target
./compile-mamba.py -A -n -r -u -s $MAMBA_ARGS $target || exit 1
Expand Down
4 changes: 2 additions & 2 deletions compile-old.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export PYTHONPATH=$ROOT:$PYTHONPATH

shift $[OPTIND-1]

rm $1/*.asm
rm $1/*.bc
rm -f $1/*.asm
rm -f $1/*.bc
printf "Running \n\t ./compile.py -s %s\n\n" $1
./compile-mamba.py -s $1 || exit 1

0 comments on commit 967f7bf

Please sign in to comment.