Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] updated Boost docs #1955

Merged
merged 1 commit into from
Jan 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/GPU-Windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Adjust ``C:\boost`` if you install it elsewhere.

We can now start downloading and compiling the required Boost libraries:

- Download `Boost`_ (boost\_1\_63\_0.zip)
- Download `Boost`_ (for example, the filename for 1.63.0 version is ``boost_1_63_0.zip``)

- Extract the archive to ``C:\boost``

Expand Down Expand Up @@ -220,15 +220,15 @@ This is what you should (approximately) get at the end of Boost compilation:

If you are getting an error:

- Wipe your boost directory
- Wipe your Boost directory

- Close the command prompt

- Make sure you added
``C:\boost\boost-build\bin``, ``C:\boost\boost-build\include\boost`` to
your PATH (adjust accordingly if you use another folder)

- Do the boost compilation steps again (extract => command prompt => ``cd`` => ``bootstrap`` => ``b2`` => ``cd`` => ``b2``
- Do the Boost compilation steps again (extract => command prompt => ``cd`` => ``bootstrap`` => ``b2`` => ``cd`` => ``b2``

--------------

Expand Down Expand Up @@ -268,7 +268,7 @@ Installing CMake requires one download first and then a lot of configuration for
:align: center
:target: ./_static/images/screenshot-downloading-cmake.png

- Download `CMake`_ 3.8.0
- Download `CMake`_ (3.8 or higher)

- Install CMake

Expand Down Expand Up @@ -572,7 +572,7 @@ And open an issue in GitHub `here`_ with that log.

.. _this: http://iweb.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe

.. _Boost: http://www.boost.org/users/history/version_1_63_0.html
.. _Boost: https://www.boost.org/users/history/

.. _link: https://git-scm.com/download/win

Expand Down
10 changes: 5 additions & 5 deletions docs/Installation-Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ Following procedure is for the **MSVC** (Microsoft Visual C++) build.

Further reading and correspondence table: `GPU SDK Correspondence and Device Targeting Table <./GPU-Targets.rst>`__.

3. Install `Boost Binary`_.
3. Install `Boost Binaries`_.

**Note**: Match your Visual C++ version:

Expand All @@ -536,16 +536,16 @@ Following procedure is for the **MSVC** (Microsoft Visual C++) build.

.. code::

Set BOOST_ROOT=C:\local\boost_1_64_0\
Set BOOST_LIBRARYDIR=C:\local\boost_1_64_0\lib64-msvc-14.0
Set BOOST_ROOT=C:\local\boost_1_63_0\
Set BOOST_LIBRARYDIR=C:\local\boost_1_63_0\lib64-msvc-14.0
git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM
mkdir build
cd build
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DUSE_GPU=1 ..
cmake --build . --target ALL_BUILD --config Release

**Note**: ``C:\local\boost_1_64_0\`` and ``C:\local\boost_1_64_0\lib64-msvc-14.0`` are locations of your **Boost** binaries. You also can set them to the environment variable to avoid ``Set ...`` commands when build.
**Note**: ``C:\local\boost_1_63_0\`` and ``C:\local\boost_1_63_0\lib64-msvc-14.0`` are locations of your **Boost** binaries (assuming you've downloaded 1.63.0 version). You also can set them to the environment variable to avoid ``Set ...`` commands when build.

Docker
^^^^^^
Expand Down Expand Up @@ -676,6 +676,6 @@ On Linux Java wrapper of LightGBM can be built using **Java**, **SWIG**, **CMake

.. _CUDA Toolkit: https://developer.nvidia.com/cuda-downloads

.. _Boost Binary: https://sourceforge.net/projects/boost/files/boost-binaries/1.64.0/
.. _Boost Binaries: https://bintray.com/boostorg/release/boost-binaries/_latestVersion#files

.. _SWIG: http://www.swig.org/download.html