← Back to team overview

yade-dev team mailing list archive

Re: scons, and compiling HEAD

 

> 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