Files
airllm-fork-nodejs/node_modules/node-llama-cpp/dist/utils/cmake.d.ts
2026-02-05 15:27:49 +08:00

11 lines
531 B
TypeScript

export declare function hasBuiltinCmake(): Promise<boolean>;
export declare function getCmakePath(): Promise<string>;
export declare function downloadCmakeIfNeeded(wrapWithStatusLogs?: boolean): Promise<void>;
export declare function clearLocalCmake(): Promise<void>;
/**
* There's an issue where after a compilation, the cmake binaries have permissions that don't allow them to be deleted.
* This function fixes that.
* It should be run after each compilation.
*/
export declare function fixXpackPermissions(): Promise<void>;