blob: 602ed5cfa3ec980ba735e126c2a711bb9bb90136 (
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;chksum;pre=cb.:CbName.cpp} ${output;hide;pre=CB_External_;suf=.rodata:CbName} ${output_include;hide:"kernel/catboost/catboost_calcer.h"} ${kv;hide:"p CB"} ${kv;hide:"pc yellow"}
}
|