Build the binary with make
on Linux (CPU only)
Warning
This approach will work only for versions prior to this commit.
For newer versions use Build with CMake
Note
Training or inference on CUDA-enabled GPUs requires NVIDIA Driver of version 450.80.02 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
.