[Halld-offline] DEBUG, PROFILE, OPTIMIZE

David Lawrence davidl at jlab.org
Thu Feb 24 08:45:40 EST 2011


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20110224/5b245e61/attachment-0002.html>


More information about the Halld-offline mailing list