[
https://issues.apache.org/jira/browse/SINGA-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884040#comment-15884040
]
ASF subversion and git services commented on SINGA-303:
-------------------------------------------------------
Commit ca0be884c5cedc83fa10aab1547e9453c006a264 in incubator-singa's branch
refs/heads/master from [~zhongle]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=ca0be88 ]
SINGA-303 Create conda packages
Fix bugs:
_singa_wrap must be ended with .so (cannot use dylib) on osx
must link with libs from conda, there are two approaches
1. export CMAKE_PREFIX_PATH=$PREFIX
2. pass each dep lib path to cmake.
Otherwise the system lib (e.g., python) path would be linked into
_singa_wrap.so.
@rpath/libpython2.7.dylib is replaced by a path RPATH list that has
libpython2.7.dylib.
conda would store an entry @load_path/../../.. in RPATH for _singa_wrap.so on
osx.
@load_path is the path of _singa_wrap.so.
update readme
> Create conda packages
> ---------------------
>
> Key: SINGA-303
> URL: https://issues.apache.org/jira/browse/SINGA-303
> Project: Singa
> Issue Type: New Feature
> Reporter: wangwei
> Assignee: wangwei
>
> conda can build packages for software written in c++, python, etc.
> It provides its own building environment and thus can avoid the path mess
> problem. It is also cross platform.
> This ticket will add scripts and configurations to build packages for SINGA
> using conda tools. The packages will be uploaded to anaconda. Then users can
> install singa via
> {code}
> conda install -c nusdbsystem singa
> {code}
> We will use travis SINGA-302 to create the packages for osx and linux (CPU
> version) and use jenkins to create linux packages for GPU. Windows packages
> will be considered later.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)