singa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wang...@apache.org
Subject [13/15] incubator-singa git commit: SINGA-290 Upgrade to Python 3
Date Fri, 04 Aug 2017 08:32:57 GMT
SINGA-290 Upgrade to Python 3


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/ff1806b8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/ff1806b8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/ff1806b8

Branch: refs/heads/master
Commit: ff1806b8cba844e05499a2af1626364c5ec940cb
Parents: bd5a8f8
Author: Moaz Reyad <moazreyad@gmail.com>
Authored: Wed Jul 12 10:52:51 2017 +0800
Committer: Wei Wang <wangwei@comp.nus.edu.sg>
Committed: Thu Aug 3 18:16:00 2017 +0800

----------------------------------------------------------------------
 doc/en/docs/installation.md | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/ff1806b8/doc/en/docs/installation.md
----------------------------------------------------------------------
diff --git a/doc/en/docs/installation.md b/doc/en/docs/installation.md
index d60e572..79996a4 100755
--- a/doc/en/docs/installation.md
+++ b/doc/en/docs/installation.md
@@ -105,10 +105,13 @@ The following libraries are optional
 2. run `cmake [options] ..`
   by default all options are OFF except `USE_PYTHON`
 
-    * `USE_MODUELS=ON`, used if protobuf and blas are not installed a prior
+    * `USE_MODULES=ON`, used if protobuf and blas are not installed a prior
     * `USE_CUDA=ON`, used if CUDA and cuDNN is available
     * `USE_PYTHON=ON`, used for compiling PySINGA
     * `USE_OPENCL=ON`, used for compiling with OpenCL support
+    * `PYTHON2=ON`, used for compiling with Python 2 support. (The default is Python 3)
+    * `PACKAGE=ON`, used for building the Debian package
+
 3. compile the code, e.g., `make`
 4. goto python folder
 5. run `pip install .`
@@ -258,6 +261,17 @@ To build SINGA with OpenCL support, you need to pass the flag during
cmake:
 
     cmake -DUSE_OPENCL=ON ..
 
+#### Compile SINGA with PYTHON2=ON
+
+The default Python version for SINGA is 3. SINGA can be built for Python 2 by setting PYTHON2=ON.
+
+#### Compile SINGA with PACKAGE=ON
+
+This setting is used to build the Debian package. Set PACKAGE=ON and build the package with
make command like this:
+
+    $ cmake -DPACKAGE=ON
+    $ make package
+
 ### Compile SINGA on Windows
 
 For the dependent library installation, please refer to [Dependencies](dependencies.md).


Mime
View raw message