From 1d822dacb69e3497e589554e247a4f40d720fe3f Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Thu, 8 Aug 2024 01:45:44 +0700 Subject: [PATCH] Fix brew build from source error (#995) Co-authored-by: Service Account --- cortex-cpp/package.json | 2 +- cortex-js/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cortex-cpp/package.json b/cortex-cpp/package.json index 737c40e3c..84cc49d9d 100644 --- a/cortex-cpp/package.json +++ b/cortex-cpp/package.json @@ -10,7 +10,7 @@ }, "scripts": { "install": "prebuild-install --runtime napi --backend cmake-js --config Release || yarn rebuild", - "build-deps": "cmake-js configure --directory ./cortex-cpp-deps --out ./build-deps/cortex-cpp-deps && cmake-js build --directory ./cortex-cpp-deps --out ./build-deps/cortex-cpp-deps --config Release", + "build-deps": "cmake-js configure --directory ./cortex-cpp-deps --out ./build-deps/cortex-cpp-deps --config Release && cmake-js build --directory ./cortex-cpp-deps --out ./build-deps/cortex-cpp-deps --config Release", "build": "yarn build-deps && cmake-js configure --config Release && cmake-js build --config Release", "rebuild": "yarn build-deps && cmake-js rebuild --config Release", "prebuild": "yarn build-deps && prebuild --runtime napi --backend cmake-js --all --strip --verbose --config Release --include-regex \"\\.(node|exp|lib|so)$\"", diff --git a/cortex-js/package.json b/cortex-js/package.json index 0f4cbffe5..ad405c5a5 100644 --- a/cortex-js/package.json +++ b/cortex-js/package.json @@ -54,7 +54,7 @@ "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "cli-progress": "^3.12.0", - "cortex-cpp": "0.5.0-35", + "cortex-cpp": "0.5.0-36", "cpu-instructions": "^0.0.11", "decompress": "^4.2.1", "hyllama": "^0.2.2",