Revisió ee446b02
Afegit per Jorge L. Florit fa casi 11 anys
nightlycompile.sh | ||
---|---|---|
# Targets which are not gonna be compiled
|
||
NOTARGETS=${NOTARGETS:-}
|
||
|
||
# Extra packages (separated by spaces)
|
||
EXTRA_PACKS=${EXTRA_PACKS:-}
|
||
|
||
|
||
# If FORCE is 1, compilation process will be forced
|
||
[ -z "$FORCE" ] && FORCE=0
|
||
|
||
... | ... | |
for t in $TARGETS; do
|
||
[[ "$NOTARGETS" =~ "$t" ]] && continue
|
||
echo "Compiling target $t"
|
||
nice -n 25 make T=$t build J=2 QMP_GIT_BRANCH=$BRANCH COMMUNITY=$COMMUNITY
|
||
nice -n 25 make T=$t build J=2 QMP_GIT_BRANCH=$BRANCH COMMUNITY=$COMMUNITY EXTRA_PACKS=$EXTRA_PACKS
|
||
|
||
[ $? -ne 0 ] && [ ! -z "$MAIL" ] &&
|
||
echo "Error detected during QMP compilation process" | mail -s "[qMp] build system" $MAIL
|
També disponible a: Unified diff
Add script to select additional packages only in compile time