[Halld-offline] DEBUG, PROFILE, OPTIMIZE
Mark M. Ito
marki at jlab.org
Thu Feb 24 14:26:42 EST 2011
Dave,
Don't we want DEBUG=yes to turn off optimization (as it was before)? You
could still have OPTIMIZE over-ride this "DEBUG-only" default, but I
thought that optimization caused problems with source code debugging. In
other words, debug symbols with optimization is an unusual combination.
-- Mark
On 02/24/2011 08:45 AM, David Lawrence wrote:
>
> Hi All,
>
> I just committed a change to BMS that decouples the debugging
> symbols, profiling, and optimization. One can now explicitly set the
> optimization using OPTIMIZE=X where X is the optimization level. It
> still defaults to 2. In order to turn on profiling, one now needs to
> add PROFILE=yes to the make command. Adding DEBUG=yes will now only
> turn on debugging symbols whereas previously, it also turned on
> profiling and turned off optimization.
>
> If either DEBUG=yes or PROFILE=yes (or both) is specified, the
> output binaries will have a "_d" appended to their name as it has
> always been.
>
> Regards,
> -Dave
>
> -------- Original Message --------
> Subject: r7480 - trunk/sim-recon/src/BMS
> Date: Thu, 24 Feb 2011 08:41:34 -0500
> From: Hall-D.SVN.Repository at jlab.org
> To: davidl at jlab.org, brash at pcs.cnu.edu, wolin at jlab.org,
> zisis at uregina.ca, mashephe at indiana.edu, remitche at indiana.edu,
> zihlmann at jlab.org, somov at jlab.org, staylor at jlab.org
>
>
>
> Author: davidl
> Date: 2011-02-24 08:41:34 -0500 (Thu, 24 Feb 2011)
> New Revision: 7480
>
> Modified:
> trunk/sim-recon/src/BMS/Makefile.common
> Log:
> Add PROFILE and OPTIMIZE flags to BMS to decouple the use of debugging symbols, profiling, and optimization.
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/halld-offline/attachments/20110224/9e37af9b/attachment.html
More information about the Halld-offline
mailing list