Run fc-cache before launching loolwsd.
Otherwise the loolforkit startup can take too long with too many fonts. Change-Id: Ibbffab223a70a34bdb993e3b69a5b3d971176a93private/mmeeks/fixing
parent
b6270fae57
commit
6e21b754ec
|
@ -223,6 +223,7 @@ clean-local:
|
|||
|
||||
run: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
|
||||
@echo "Launching loolwsd"
|
||||
@fc-cache "@LO_PATH@"/share/fonts/truetype
|
||||
@cp $(abs_top_srcdir)/test/data/hello.odt $(abs_top_srcdir)/test/data/hello-world.odt
|
||||
@echo
|
||||
./loolwsd --o:sys_template_path="@SYSTEMPLATE_PATH@" --o:lo_template_path="@LO_PATH@" \
|
||||
|
@ -235,6 +236,7 @@ run: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
|
|||
|
||||
run-valgrind: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
|
||||
@echo "Launching loolwsd under valgrind (but not forkit/loolkit, yet)"
|
||||
@fc-cache "@LO_PATH@"/share/fonts/truetype
|
||||
@cp $(abs_top_srcdir)/test/data/hello.odt $(abs_top_srcdir)/test/data/hello-world.odt
|
||||
valgrind --tool=memcheck --trace-children=no -v --read-var-info=yes \
|
||||
./loolwsd --o:sys_template_path="@SYSTEMPLATE_PATH@" --o:lo_template_path="@LO_PATH@" \
|
||||
|
@ -247,6 +249,7 @@ run-valgrind: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
|
|||
|
||||
run-callgrind: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
|
||||
@echo "Launching loolwsd under valgrind (but not forkit/loolkit, yet)"
|
||||
@fc-cache "@LO_PATH@"/share/fonts/truetype
|
||||
@cp $(abs_top_srcdir)/test/data/hello.odt $(abs_top_srcdir)/test/data/hello-world.odt
|
||||
valgrind --tool=callgrind --simulate-cache=yes --dump-instr=yes --num-callers=50 --error-limit=no \
|
||||
./loolwsd --o:sys_template_path="@SYSTEMPLATE_PATH@" --o:lo_template_path="@LO_PATH@" \
|
||||
|
|
Loading…
Reference in New Issue