yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00801
Re: scons, and compiling HEAD
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Václav Šmilauer <eudoxos@xxxxxxxx>
-
Date:
Tue, 25 Nov 2008 05:59:58 +0100
-
In-reply-to:
<20081124184002.01a9ee1a@szpak>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.17) Gecko/20080925 Lightning/0.8 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666
> a followup question. If in scons.profile I change:
>
> variant = '-slow'
> version = '0.12'
>
> to
>
> variant = '-slow'
> version = '0.12.1'
>
> is it enough to rename ../build-0.12-slow into ../build-0.12.1-slow to
> avoid full recompiling?
>
No, since -DSUFFIX=\"-0.12-slow\" is passed to every g++ call (check
with pretty=0). Hence all objects will be recompiled, since their
command-line has changed. There is hardly a way to avoid that, except
for putting such stuff inside Omega and #define those macros only for a
few translation units.
Vaclav
References