← Back to team overview

yade-users team mailing list archive

Re: [Question #169042]: Defaut value of optimize option of scons ?

 

Question #169042 on Yade changed:
https://answers.launchpad.net/yade/+question/169042

    Status: Open => Answered

honzik proposed the following answer:
Hi Jerome

according to YADEDIR/SConstruct script, line 93, the default value is -1.
You can also change the help description in the same file at the same line
to be more helpful.

Jan

2011/8/24 jduriez <question169042@xxxxxxxxxxxxxxxxxxxxx>

> New question #169042 on Yade:
> https://answers.launchpad.net/yade/+question/169042
>
> Hello,
>
> with scons -h I see on my PC that the default value of this option is "-1"
> :
>
> optimize: Turn on optimizations (-1, 0 or 1); negative value sets
> optimization based on debugging: not optimize with debugging and vice versa.
>    default: -1
>
> Whereas, from what I understand from
> https://www.yade-dem.org/doc/prog.html#pre-build-configuration, it is
> "True (1)".
>
> Which is the truth ? The first one ?
>
> I take opportunity of this question to say that I did not find the
> explaining message of this option given by scons -h so helpful, especially
> to understand the three different possible values ? But I can not be sure it
> is not my fault...
>
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.