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
b1ec44fa
Commit
b1ec44fa
authored
Jul 12, 2018
by
fanliwen
Browse files
specify AppleClang >= 9.0
parent
07dad29c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
5 deletions
+23
-5
docs/Installation-Guide.rst
docs/Installation-Guide.rst
+23
-5
No files found.
docs/Installation-Guide.rst
View file @
b1ec44fa
...
@@ -87,10 +87,10 @@ Also you may want to read `gcc Tips <./gcc-Tips.rst>`__.
...
@@ -87,10 +87,10 @@ Also you may want to read `gcc Tips <./gcc-Tips.rst>`__.
macOS
macOS
~~~~~
~~~~~
LightGBM can use Apple Clang, or GCC/G++ to build in macOS.
LightGBM can use Apple Clang
(9.0 or higher)
, or GCC/G++ to build in macOS.
Apple Clang
Apple Clang
(9.0 or higher)
***********
^^^^^^^^^^^^^^^^^^^^^^^^^^^
1. Install `CMake`_ (3.12 or higher).
1. Install `CMake`_ (3.12 or higher).
...
@@ -105,7 +105,7 @@ Apple Clang
...
@@ -105,7 +105,7 @@ Apple Clang
make -j4
make -j4
GCC/G++
GCC/G++
*******
^^^^^^^
Please install **gcc/g++** by using the following commands:
Please install **gcc/g++** by using the following commands:
...
@@ -348,7 +348,25 @@ LightGBM uses **CMake** to build. Run the following commands:
...
@@ -348,7 +348,25 @@ LightGBM uses **CMake** to build. Run the following commands:
macOS
macOS
^^^^^
^^^^^
LightGBM depends on **OpenMP** for compiling, which isn't supported by Apple Clang.
LightGBM can use Apple Clang (9.0 or higher), or GCC/G++ to build in macOS.
Apple Clang (9.0 or higher)
***************************
1. Install `CMake`_ (3.12 or higher).
2. Run the following commands:
.. code::
brew install libomp
git clone --recursive https://github.com/Microsoft/LightGBM ; cd LightGBM
mkdir build ; cd build
cmake -DUSE_HDFS=ON ..
make -j4
GCC/G++
*******
Please install **gcc/g++** by using the following commands:
Please install **gcc/g++** by using the following commands:
...
...
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