Build the CLI binary app from a local source repository
CatBoost uses CMake-based build process since this commit. Previously
Ya Make (Yandex's build system) had been used.
Select the appropriate build method below accordingly.
CatBoost source code is stored as a Git repository on GitHub at https://github.com/catboost/catboost/. You can obtain a local copy of this Git repository by running the following command from a command line interpreter (you need to have Git command line tools installed):
git clone https://github.com/catboost/catboost.git
Build using CMake
catboost target. See Build native artifacts.
Build using Ya Make
catboost/catboost/appdirectory from the local copy of the CatBoost repository.
Run the following command:
../../ya make -r [optional parameters]
The path to CUDA. This parameter is required to support training on GPU.
Disable CUDA support. This speeds up compilation.
By default, the package is built with CUDA support if CUDA Toolkit is installed.
The directory to output the compiled package to. By default, the current directory is used.