Gerrit Windows build: what configure should I use at home?

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Sun Jul 19 05:29:32 PDT 2015


On 07/17/2015 07:24 PM, Norbert Thiebaud wrote:
>>
>>
>> thanks, I used that without symbols or other debug settings, just to see how
>> it goes.
>
> What I use for the jenkins slave-bot is lode:
> https://wiki.documentfoundation.org/Development/lode
> assuming you already have a cygwin environment, then

cygwin I have,

>
>
> git clone git://gerrit.libreoffice.org/lode
> cd lode
> ./setup --dev
> modify your bashrc based on the message (that is export LODE_HOME and
> pout LODE_HOME/opt/bin in the PATH
>
> cd dev/core
> tweak autogen.input if need be (by default it has --enable-debug for dev build)
>
> ./autogen.sh
> make
>
> Note the fact that LODE_HOME is define will make configure.ac pick the
> 'right' thing for most build dep like ant/doxygen/external_tar etc...
> so there is no need for --with-ant-home/--with-junit
>
> Note2: --enable-pch is the default on windows.. in fact --disable-pch
> is ignored and we always use pch
>
> Note3: --disable-ccache is the default on windows
>
> Note4: --with-parallelism default to the number of core. it used to be
> that it was necessary on Windows to 'overcommit' by manually specify a
> value higher than the number of core due to the fact that some build
> token were routinely lost along the way.
> This does not seems to be true with recent cygwin and the native make
> binary we use (lode set that up automatically for you)

interesting description, I'll give it a try.

Thanks

-- 
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu


More information about the LibreOffice mailing list