makefile: speed up build by using libmapnik-json.a as proxy for whether 'heavy' compiles have run yet
This commit is contained in:
parent
8153c1a9fd
commit
19cafa00fb
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -12,7 +12,7 @@ all: mapnik
|
||||||
install:
|
install:
|
||||||
$(PYTHON) scons/scons.py -j$(JOBS) --config=cache --implicit-cache --max-drift=1 install
|
$(PYTHON) scons/scons.py -j$(JOBS) --config=cache --implicit-cache --max-drift=1 install
|
||||||
|
|
||||||
mapnik:
|
src/json/libmapnik-json.a:
|
||||||
# we first build memory intensive files with -j2
|
# we first build memory intensive files with -j2
|
||||||
$(PYTHON) scons/scons.py -j2 \
|
$(PYTHON) scons/scons.py -j2 \
|
||||||
--config=cache --implicit-cache --max-drift=1 \
|
--config=cache --implicit-cache --max-drift=1 \
|
||||||
|
@ -29,6 +29,8 @@ mapnik:
|
||||||
src/grid/process_group_symbolizer.os \
|
src/grid/process_group_symbolizer.os \
|
||||||
src/cairo/process_markers_symbolizer.os \
|
src/cairo/process_markers_symbolizer.os \
|
||||||
src/cairo/process_group_symbolizer.os \
|
src/cairo/process_group_symbolizer.os \
|
||||||
|
|
||||||
|
mapnik: src/json/libmapnik-json.a
|
||||||
# then install the rest with -j$(JOBS)
|
# then install the rest with -j$(JOBS)
|
||||||
$(PYTHON) scons/scons.py -j$(JOBS) --config=cache --implicit-cache --max-drift=1
|
$(PYTHON) scons/scons.py -j$(JOBS) --config=cache --implicit-cache --max-drift=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue