Skip to content

criteo-forks/xgboost-jars

Repository files navigation

xgboost4j

Build Status Build status

Repository to build xgboost4j JARs.

Build

The build would always use the latest version of xgboost and its submodules. Sadly, there is no way around it at the moment, as the submodules are pinned to specific commits, and dmlc-core received quite a few patches to be buildable. In the future, this behaviour could be safely removed.

Otherwise, the following versions of the dependencies are used

HADOOP_VERSION=2.6.0-cdh5.5.0
SPARK_VERSION=2.4.1
SCALA_VERSION=2.11.12
SCALA_BINARY_VERSION=2.11

You could probably change them to more recent/different version, but this has not been validated yet.

Windows

The Windows build is x64 only and uses Visual Studio 2015.

Linux

The Linux build is done inside a CentOS6 Docker container to make sure the resulting JARs can be executed on ancient Linux distributions like CentOS.

Release

To make a release:

  • Bump XGBOOST_BASE_VERSION in .github/workflows/main.yml.
  • Tag master with XGBOOST_BASE_VERSION.
  • Wait :)