From 38759779f5653aaf46aab7e3d4e23c10401839dc Mon Sep 17 00:00:00 2001 From: Service Account Date: Thu, 8 Aug 2024 01:26:51 +0700 Subject: [PATCH 1/2] Fix brew build from source error --- cortex-cpp/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)$\"", From 1ef44e0580dffe02c514725c5657e047cc5b5039 Mon Sep 17 00:00:00 2001 From: Service Account Date: Thu, 8 Aug 2024 01:35:20 +0700 Subject: [PATCH 2/2] Upgrade cortex cpp to 0.5.0-36 --- cortex-js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",