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:
parent
4557b0737a
commit
b646146892
5
build
5
build
|
@ -106,7 +106,10 @@ older_than subx_bin subx.cc *_list && {
|
||||||
$CXX $CFLAGS subx.cc -o subx_bin
|
$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
|
then
|
||||||
|
|
||||||
# Assumption: SubX programs don't need to be retranslated every time we
|
# Assumption: SubX programs don't need to be retranslated every time we
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
set -e
|
set -e
|
||||||
set -v
|
set -v
|
||||||
|
|
||||||
./build
|
ALL=1 ./build
|
||||||
|
|
||||||
echo `cat $* |grep -v '^\s*#\|^\s*$' |wc -l` lines
|
echo `cat $* |grep -v '^\s*#\|^\s*$' |wc -l` lines
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user