MCPcopy Create free account
hub / github.com/catboost/catboost / configureGyp

Function configureGyp

catboost/node-package/build_scripts/build.ts:61–69  ·  view source on GitHub ↗
(srcPath = join('..','..'))

Source from the content-addressed store, hash-verified

59}
60
61async function configureGyp(srcPath = join('..','..')) {
62 process.env['CATBOOST_SRC_PATH'] = srcPath;
63 const result = await execProcess('node-gyp configure');
64 if (result.code !== 0) {
65 console.error(`Node-gyp configuration failed:
66 ${result.code} ${result.signal} ${result.err?.message}`);
67 process.exit(1);
68 }
69}
70
71export async function buildModel(buildNativeExtraArgs: string[]) {
72 await configureGyp();

Callers 3

buildModelFunction · 0.85
buildNativeFunction · 0.85
buildLocalFunction · 0.85

Calls 3

execProcessFunction · 0.90
joinFunction · 0.50
errorMethod · 0.45

Tested by

no test coverage detected