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