Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 04.07.2012 13:20, Olivier Hallot wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

My (linux) build actually works but I face a stressing situation

Each time I do a git pull -r and then make, then tail_build seems to
build from scratch and takes hours to finish, making my work a PITA.

my autogen is this one:
- --with-num-cpus=4
- --with-max-jobs=4
- --with-vendor=Olivier Hallot
- --enable-graphite
- --with-lang=pt-BR en-US qtz
- --disable-mozilla

I have a I5 machine with 6GB.

I must be missing something... I'll appreciate some advise to make
tail_build compile faster/shorter
Note you don't need --disable-mozilla any more. It is disabled be default (on master).

Can you check the place in autogen.sh output if ccache was correctly detected?
It sounds like you are compiling without ccache.
Try ccache -s to check if it is working correctly (in my case):
[...]
cache hit (direct)                 98667
[...]
cache size                            23.0 Gbytes
max cache size                    100.0 Gbytes

Also it may be needed to configure ccache, add something like this in ~/.bashrc:

# optionaly set CCACHE_DIR to second hard drive if you have one:
export CCACHE_DIR=/mnt/your_second_hard_drive
# set max cache size to 100 GB
ccache -M 100

Regards
David


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.