Parallel stages merged into one

This commit is contained in:
Alex Zolotarev 2011-01-09 17:49:51 +01:00 committed by Alex Zolotarev
parent a5b96328a8
commit 44e81bb8ff

View file

@ -120,20 +120,7 @@ for file in $DATA_PATH/*.mwm; do
filename=$(basename $file)
extension=${filename##*.}
filename=${filename%.*}
$INDEXER_TOOL --generate_geometry --sort_features --output=$filename &
forky $PROCESSORS
fi
done
wait
# 4th pass - do in parallel
for file in $DATA_PATH/*.mwm; do
if [ $file != "minsk-pass" ]; then
filename=$(basename $file)
extension=${filename##*.}
filename=${filename%.*}
$INDEXER_TOOL --generate_index --output=$filename &
$INDEXER_TOOL --generate_geometry --sort_features --generate_index --output=$filename &
forky $PROCESSORS
fi
done