blob: 0a121a5f047bef2b19778406f05478b161cd1249 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# Catboost
BUILD_CATBOOST_SCRIPT=build/scripts/build_catboost.py
### @usage: BUILD_CATBOOST(cbmodel cbname)
###
### Generate catboost model and access code.
### cbmodel - CatBoost model file name (*.cmb).
### cbname - name for a variable (of NCatboostCalcer::TCatboostCalcer type) to be available in CPP code.
### CatBoost specific macro.
macro BUILD_CATBOOST(CbModel, CbName) {
.CMD=$YMAKE_PYTHON ${input:BUILD_CATBOOST_SCRIPT} build_cb_f $ARCADIA_ROOT $ARCH_TOOL ${input:CbModel} $CbName ${output;pre=cb.:CbName.cpp} ${hide;output;pre=CB_External_;suf=.rodata:CbName} ${hide;output_include:"kernel/catboost/catboost_calcer.h"} ${hide;kv:"p CB"} ${hide;kv:"pc yellow"}
}
|