Help to speedup compilation

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Help to speedup compilation

andrea-110
Hi,

I usually build QuantLib from svn and go through the usual autogen.sh, configure etc...

I've noticed that the whole compilation takes a very long time (on my 5 year old laptop).

"Examples" is the slowest part: a minimal change triggers the whole recompilation of examples
(the library is only rebuilt where/when needed)

I was wondering if there is any easy way to switch it off.
the flag --enable-examples in configure is only used to install them or not.

Andrea


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Help to speedup compilation

andrea-110
On 14/09/09 20:50, Andrea wrote:
> Hi,
>
> I usually build QuantLib from svn and go through the usual autogen.sh, configure etc...
>
> I've noticed that the whole compilation takes a very long time (on my 5 year old laptop).
>
> "Examples" is the slowest part: a minimal change triggers the whole recompilation of examples
> (the library is only rebuilt where/when needed)

test-suite as well


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Help to speedup compilation

Piter Dias-4
Andrea,

I use VC++ instead of Linux/Unix but I would try opening
QuantLib\configure.ac and deleting some of the last lines (related to
Examples and testsuite).
Just take care about testsuite line because it ends with "])" which must
be in the final of the directory list.

Regards,


On Mon, 14 Sep 2009 20:57:40 +0100, Andrea <[hidden email]>
wrote:

> On 14/09/09 20:50, Andrea wrote:
>> Hi,
>>
>> I usually build QuantLib from svn and go through the usual autogen.sh,
>> configure etc...
>>
>> I've noticed that the whole compilation takes a very long time (on my 5
>> year old laptop).
>>
>> "Examples" is the slowest part: a minimal change triggers the whole
>> recompilation of examples
>> (the library is only rebuilt where/when needed)
>
> test-suite as well
>
>
>
------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

--
-------------------------

Piter Dias
[hidden email]

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Help to speedup compilation

Luigi Ballabio
On Mon, 2009-09-14 at 18:44 -0300, Piter Dias wrote:
> I use VC++ instead of Linux/Unix but I would try opening
> QuantLib\configure.ac and deleting some of the last lines (related to
> Examples and testsuite).
> Just take care about testsuite line because it ends with "])" which must
> be in the final of the directory list.

No, you'd also have to modify Makefile.am.

If you want to build only the library, just run make from inside the ql
directory.

Luigi


--

A debugged program is one for which you have not yet found the
conditions that make it fail.
-- Jerry Ogdin



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Help to speedup compilation

andrea-110
On 15/09/09 08:46, Luigi Ballabio wrote:

> On Mon, 2009-09-14 at 18:44 -0300, Piter Dias wrote:
>> I use VC++ instead of Linux/Unix but I would try opening
>> QuantLib\configure.ac and deleting some of the last lines (related to
>> Examples and testsuite).
>> Just take care about testsuite line because it ends with "])" which must
>> be in the final of the directory list.
>
> No, you'd also have to modify Makefile.am.
>
> If you want to build only the library, just run make from inside the ql
> directory.
>
> Luigi
>
>

Thanks, that did the job.



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users