5512 - don't rebuild apps by default

We basically only want to rebuild phases of the self-hosted translator
when we run the self-hosted translator.
This commit is contained in:
Kartik Agaram 2019-08-14 16:05:48 -07:00
parent 4557b0737a
commit b646146892
3 changed files with 6 additions and 3 deletions

5
build
View File

@ -106,7 +106,10 @@ older_than subx_bin subx.cc *_list && {
$CXX $CFLAGS subx.cc -o subx_bin
}
if [ $# -eq 0 ]
# We ought to always rebuild all apps if any .subx layers are updated.
# But during development it's too slow to update _all_ apps when we're
# repeatedly running a single one.
if [ $ALL ]
then
# Assumption: SubX programs don't need to be retranslated every time we

View File

@ -14,7 +14,7 @@
set -e
set -v
./build
ALL=1 ./build
echo `cat $* |grep -v '^\s*#\|^\s*$' |wc -l` lines

View File

@ -14,7 +14,7 @@
set -e
set -v
./build
ALL=1 ./build
echo `cat $* |grep -v '^\s*#\|^\s*$' |wc -l` lines