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

2015-07-19 Thread Giuseppe Castagno

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
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2015-07-17 Thread Norbert Thiebaud


 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


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)

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2015-07-16 Thread Giuseppe Castagno

Hi all,

I'd like to prepare home a Win7 machine to build LibO with a configure 
script as the one used by gerrit builds.


What will it be the most current configure to use?

Looking at the log available, it seems that a prepared set of shell 
variable is used, what configure generated it?



Thanks

--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2015-07-16 Thread Giuseppe Castagno

On 07/16/2015 01:58 PM, Ashod Nakashian wrote:

You are looking for autogen.sh.

Look at a log on Jenkins (not Gerrit) and find the parameters passed to


unfortunately, on the build log that failed me, of which I couldn't tell 
why, the autogen.sh line is nowhere to be seen:


http://ci.libreoffice.org/job/lo_gerrit_master/4213/Gerrit=Gerrit,Platform=Windows/consoleFull


autogen.sh. You'd need to customize a couple of them (junit and ant,
which you must download and place somewhere on your system and give the
path to autogen.sh).


that, I did



For reference, here is mine (it's called from a config.sh a directory
above 'libo' which is the root of the code). This will build full debug
and will generate ~27GB:

DIR=$( cd $( dirname ${BASH_SOURCE[0]} )  pwd )
$DIR/libo/autogen.sh --with-junit=$DIR/junit-4.10.jar
--with-ant-home=$DIR/apache-ant-1.9.4 --with-visual-studio=2013
--with-parallelism=24 --enable-sal-log --enable-dbgutil --enable-debug
--disable-odk --enable-pch --disable-ccache


thanks, I used that without symbols or other debug settings, just to see 
how it goes.


--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2015-07-16 Thread Ashod Nakashian
You are looking for autogen.sh.

Look at a log on Jenkins (not Gerrit) and find the parameters passed to
autogen.sh. You'd need to customize a couple of them (junit and ant, which
you must download and place somewhere on your system and give the path to
autogen.sh).

For reference, here is mine (it's called from a config.sh a directory above
'libo' which is the root of the code). This will build full debug and will
generate ~27GB:

DIR=$( cd $( dirname ${BASH_SOURCE[0]} )  pwd )
$DIR/libo/autogen.sh --with-junit=$DIR/junit-4.10.jar
--with-ant-home=$DIR/apache-ant-1.9.4 --with-visual-studio=2013
--with-parallelism=24 --enable-sal-log --enable-dbgutil --enable-debug
--disable-odk --enable-pch --disable-ccache

On Thu, Jul 16, 2015 at 5:55 AM, Giuseppe Castagno 
giuseppe.casta...@acca-esse.eu wrote:

 Hi all,

 I'd like to prepare home a Win7 machine to build LibO with a configure
 script as the one used by gerrit builds.

 What will it be the most current configure to use?

 Looking at the log available, it seems that a prepared set of shell
 variable is used, what configure generated it?


 Thanks

 --
 Kind Regards,
 Giuseppe Castagno aka beppec56
 Acca Esse http://www.acca-esse.eu
 giuseppe.castagno at acca-esse.eu
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice