# 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"} }