Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
f3e43aeb
Unverified
Commit
f3e43aeb
authored
Feb 11, 2018
by
Nikita Titov
Committed by
GitHub
Feb 11, 2018
Browse files
[docs] added info about SWIG Java wrapper (#1240)
* added info about SWIG Java wrapper * hotfix
parent
ec13b06e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
docs/Installation-Guide.rst
docs/Installation-Guide.rst
+21
-0
No files found.
docs/Installation-Guide.rst
View file @
f3e43aeb
...
...
@@ -275,6 +275,25 @@ Docker
Refer to `GPU Docker folder <https://github.com/Microsoft/LightGBM/tree/master/docker/gpu>`__.
Build Java Wrapper
~~~~~~~~~~~~~~~~~~
Linux
^^^^^
You need to install `SWIG`_ and **Java** first.
Then run the following commands:
.. code::
git clone --recursive https://github.com/Microsoft/LightGBM ; cd LightGBM
mkdir build ; cd build
cmake -DUSE_SWIG=ON ..
make -j4
This will generate a JAR file containing the LightGBM `C API <./Development-Guide.rst#c-api>`__ wrapped by SWIG.
.. _Python-package: https://github.com/Microsoft/LightGBM/tree/master/python-package
.. _R-package: https://github.com/Microsoft/LightGBM/tree/master/R-package
...
...
@@ -306,3 +325,5 @@ Refer to `GPU Docker folder <https://github.com/Microsoft/LightGBM/tree/master/d
.. _CUDA Toolkit: https://developer.nvidia.com/cuda-downloads
.. _Boost Binary: https://sourceforge.net/projects/boost/files/boost-binaries/1.64.0/
.. _SWIG: http://www.swig.org/download.html
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment