Skip to content

Commit

Permalink
Fix doc for CMake requirement. (#6123)
Browse files Browse the repository at this point in the history
  • Loading branch information
echohlne committed Sep 16, 2020
1 parent 9e955fb commit 6bc9b9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ on the binding you choose). For building language specific package, see corresp
sections in this document. The minimal building requirement is

- A recent C++ compiler supporting C++11 (g++-5.0 or higher)
- CMake 3.12 or higher.
- CMake 3.13 or higher.

For a list of CMake options, see ``#-- Options`` in CMakeLists.txt on top level of source tree.

Expand Down
2 changes: 1 addition & 1 deletion doc/jvm/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ To enable the GPU algorithm (``tree_method='gpu_hist'``), use artifacts ``xgboos
Installation from source
========================

Building XGBoost4J using Maven requires Maven 3 or newer, Java 7+ and CMake 3.3+ for compiling the JNI bindings.
Building XGBoost4J using Maven requires Maven 3 or newer, Java 7+ and CMake 3.13+ for compiling the JNI bindings.

Before you install XGBoost4J, you need to define environment variable ``JAVA_HOME`` as your JDK directory to ensure that your compiler can find ``jni.h`` correctly, since XGBoost4J relies on JNI to implement the interaction between the JVM and native libraries.

Expand Down

0 comments on commit 6bc9b9d

Please sign in to comment.