singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SINGA-69) Add debug option in compilation configuration
Date Sun, 13 Sep 2015 13:18:45 GMT

    [ https://issues.apache.org/jira/browse/SINGA-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742474#comment-14742474
] 

ASF subversion and git services commented on SINGA-69:
------------------------------------------------------

Commit e0de439ea797b3276bf6e59e01a3c243cea57ece in incubator-singa's branch refs/heads/master
from [~zhongle]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=e0de439 ]

SINGA-69 Add debug option in compilation configuration
Two updates:
1.User can use "--enable-singatest" option while running configure script to generate test
binary file and corresponding library.
2.User can use "--enable-debug" option while running configure script to compile with "-g"
parameter. The optimization level is adapted to "-O2".


> Add debug option in compilation configuration
> ---------------------------------------------
>
>                 Key: SINGA-69
>                 URL: https://issues.apache.org/jira/browse/SINGA-69
>             Project: Singa
>          Issue Type: Improvement
>            Reporter: wangwei
>            Assignee: Xie Zhongle
>
> The current Makefile generated from *./configure* compiles SINGA without debug information.
> To debug SINGA, developers have to use the Makefile.example file and manually add the
*-g* flag into the CXXFLAGS.
> It would be better to add an option for *./configure* to add *-g* in the generated Makefile,
e.g., 
> {code}
> ./configure --with-debug
> {code}
> Then we can remove the Makefile.example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message