зеркало из https://github.com/microsoft/LightGBM.git
[docs] added info about SWIG Java wrapper (#1240)
* added info about SWIG Java wrapper * hotfix
This commit is contained in:
Родитель
ec13b06ec0
Коммит
f3e43aebfe
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче