Fixed parallel build script

This commit is contained in:
Alex Zolotarev 2011-01-08 03:34:15 +01:00 committed by Alex Zolotarev
parent 71c62c8564
commit 7da73e36c9
2 changed files with 9 additions and 9 deletions

Binary file not shown.

View file

@ -102,17 +102,17 @@ then
fi
# skip 1st pass if intermediate data path was given
#if [ $# -lt 3 ]; then
# # 1st pass - not paralleled
# $PV $OSM_BZ2 | bzip2 -d | $INDEXER_TOOL --intermediate_data_path=$TMPDIR \
# --use_light_nodes=$LIGHT_NODES \
# --preprocess_xml
#fi
if [ $# -lt 3 ]; then
# 1st pass - not paralleled
$PV $OSM_BZ2 | bzip2 -d | $INDEXER_TOOL --intermediate_data_path=$TMPDIR \
--use_light_nodes=$LIGHT_NODES \
--preprocess_xml
fi
# 2nd pass - not paralleled
#$PV $OSM_BZ2 | bzip2 -d | $INDEXER_TOOL --intermediate_data_path=$TMPDIR \
# --use_light_nodes=$LIGHT_NODES --bucketing_level=$BUCKETING_LEVEL \
# --generate_features --worldmap_max_zoom=5
$PV $OSM_BZ2 | bzip2 -d | $INDEXER_TOOL --intermediate_data_path=$TMPDIR \
--use_light_nodes=$LIGHT_NODES --bucketing_level=$BUCKETING_LEVEL \
--generate_features --worldmap_max_zoom=5
# 3rd pass - do in parallel
for file in $DATA_PATH/*.mwm; do