You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2017/03/15 02:00:45 UTC

[jira] [Created] (SINGA-306) Write the definition of USE_GLOG into singa_config.h

wangwei created SINGA-306:
-----------------------------

             Summary: Write the definition of USE_GLOG into singa_config.h
                 Key: SINGA-306
                 URL: https://issues.apache.org/jira/browse/SINGA-306
             Project: Singa
          Issue Type: Bug
            Reporter: wangwei
            Assignee: wangwei


cmake defines USE_GLOG if glog is installed before compilation;
otherwise USE_GLOG is undefined.

however, this variable was not written into singa_config.h. Consequently, if singa is compiled with glog, and the application program is compiled with USE_GLOG undefined, then there would be linking error. This ticket fixes the error by writing USE_GLOG into the singa_config.h.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)