diff --git a/scripts/build-prebuild.mjs b/scripts/build-prebuild.mjs index e532094..afe3388 100644 --- a/scripts/build-prebuild.mjs +++ b/scripts/build-prebuild.mjs @@ -287,6 +287,8 @@ function main() { "-DCORTEXT_BUILD_EXAMPLES=OFF", "-DCORTEXT_BUILD_TOOLS=OFF", "-DCORTEXT_GGML_OPENMP=OFF", + "-DCORTEXT_EMBED_AIST_MODEL=OFF", + "-DCORTEXT_FETCH_AIST_MODEL=OFF", "-DCORTEXT_NODE_EXECUTABLE=" + args.node, ]; if (fs.existsSync(path.join(nodeHeaders, "node_api.h"))) { diff --git a/tests/prebuilds.test.mjs b/tests/prebuilds.test.mjs index 6c79cee..fd503e9 100644 --- a/tests/prebuilds.test.mjs +++ b/tests/prebuilds.test.mjs @@ -193,6 +193,8 @@ test("build script keeps CMake and core checkout ownership explicit", () => { assert.match(script, /CORTEXT_ALLOW_CLANGCL_ARM=ON/); assert.match(script, /class-memaccess/); assert.match(script, /CORTEXT_GGML_OPENMP=OFF/); + assert.match(script, /CORTEXT_EMBED_AIST_MODEL=OFF/); + assert.match(script, /CORTEXT_FETCH_AIST_MODEL=OFF/); assert.match(script, /configureArgs\.push\("-DCORTEXT_WARNINGS_AS_ERRORS=OFF", "-DCMAKE_CXX_FLAGS=\/EHsc \/DNOMINMAX"\)/); assert.doesNotMatch(script, /CORTEXT_EMBED_VEC=OFF/); });