Subject: CGAL users discussion list
List archive
- From: Mahmood NT <>
- To:
- Subject: Re: [cgal-discuss] reducing compile time
- Date: Mon, 10 Dec 2007 01:30:08 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=FnLzmNgbcRUxnQxYN5QNKRZonfuYlawiBKENpuGw3IHku7uYMpaihA7etHlC2Hki3lVj9CgdksFzMC8fUysi5dCVyGZk9T2ULJ23dXdt6yny3/Wp8kJfZx6/GxiLdwvKOelofBK00mB3UbZqC33V9EVjxNoKmvYDbhJ5sFU2/Uw=;
>As already pointed out, ccache works on translation units. If you have
>only one translation unit, and edit any file, the cached copy of the
>translation unit is outdated and has be to recompiled.
Sorry but can you explain more about "translation unit". For example I want
to run voronoi demo. Does it have "one traslation unit"? How did you
determine that?
Thanks,
Mahmood NT
----- Original Message ----
From: Joachim Reichel
<>
To:
Sent: Monday, December 10, 2007 12:14:56 PM
Subject: Re: [cgal-discuss] reducing compile time
Hi,
>> These are for caching a whole translation unit and wont help for CGAL,
>> because here, most programs only have one translation unit (one C file,
>> which includes everything else).
>
> I can not understand why ccache does not work for CGAL I tested it with my
> project and although the statistics show that somethings are cached, but th
> next compilation took nearly thesame time as first time.
ccache works fine with CGAL, but often you won't notice any benefit (see
below).
[...]
> In my case, I only change one file. So logically by using ccache, other
> header files that have not been changed, should be read from cache (during
> compilation).
As already pointed out, ccache works on translation units. If you have
only one translation unit, and edit any file, the cached copy of the
translation unit is outdated and has be to recompiled.
> Does this mean that there is a mechanism in CGAL that clear or change the
> timestamp of files every time??
> It is strange.
No.
> Also, why do not developers embed a caching tool during CGAL installation?
Because it is not the task of a software library to decide on the
caching tool that should be used in a particular build
environment/software project.
Regards,
Joachim
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
- Re: [cgal-discuss] reducing compile time, Mahmood NT, 12/10/2007
- Re: [cgal-discuss] reducing compile time, Joachim Reichel, 12/10/2007
- <Possible follow-up(s)>
- Re: [cgal-discuss] reducing compile time, Mahmood NT, 12/10/2007
- Re: [cgal-discuss] reducing compile time, Joachim Reichel, 12/10/2007
Archive powered by MHonArc 2.6.16.