Build the binary with make
on Linux (CPU only)
Note
Training on GPU requires NVIDIA Driver of version 418.xx or higher.
To build a CPU version of the command-line package using make
:
-
Clone the repository:
git clone https://github.com/catboost/catboost.git
-
Install the appropriate package (for example,
libc6-dev
on Ubuntu). -
Install Clang 3.9.
-
Set the CC and CXX variables to point to the installed Clang 3.9, for example:
export CC=/usr/bin/clang export CXX=/usr/bin/clang++
-
Run the following command:
make -f make/CLANG39-LINUX-X86_64.makefile
The output directory for the binary is /catboost/catboost/app
.