Use default argument set for bootstrap builds

This commit is contained in:
Sebastian Wilzbach 2020-08-30 20:41:43 +02:00
parent 7f05a442aa
commit 8f4bee9fe6

View file

@ -127,11 +127,13 @@ fi
"$HOST_DC" -m$MODEL -g -i run.d "$HOST_DC" -m$MODEL -g -i run.d
targets=("all") targets=("all")
args=('ARGS=-O -inline -g') # no -release for faster builds
if [ "$HOST_DMD_VERSION" = "2.079.0" ] ; then if [ "$HOST_DMD_VERSION" = "2.079.0" ] ; then
# do not run runnable_cxx or unit_tests with older bootstrap compilers # do not run runnable_cxx or unit_tests with older bootstrap compilers
targets=("compilable" "fail_compilation" "runnable" "dshell") targets=("compilable" "fail_compilation" "runnable" "dshell")
args=() # use default set of args
fi fi
./run --environment --jobs=$N "${targets[@]}" ARGS="-O -inline -g" MODEL="$MODEL" ./run --environment --jobs=$N "${targets[@]}" "${args[@]}" MODEL="$MODEL"
################################################################################ ################################################################################
# Prepare artifacts # Prepare artifacts