Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

try to fix tauri build

Louis Beaumontadfc33ed4906
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index b87e05684..0cb1988f9 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -40,9 +40,9 @@ jobs:
args: "--target x86_64-apple-darwin --features metal"
target: x86_64-apple-darwin
- platform: "ubuntu-22.04" # Ubuntu x86_64
- args: "" # TODO CUDA
+ args: "--features mkl" # TODO CUDA
- platform: "windows-latest" # Windows x86_64
- args: "--target x86_64-pc-windows-msvc" # TODO CUDA? --features "openblas"
+ args: "--target x86_64-pc-windows-msvc --features mkl" # TODO CUDA? --features "openblas"
pre-build-args: "" # --openblas
# windows arm: https://github.com/ahqsoftwares/tauri-ahq-store/blob/2fbc2103c222662b3c6ee0cd71fcde664824f0ef/.github/workflows/publish.yml#L136
@@ -180,15 +180,15 @@ jobs:
# if: matrix.platform == 'windows-latest'
# run: vcpkg install onnxruntime:x64-windows
- - name: Set up MSVC
- if: matrix.platform == 'windows-latest'
- uses: ilammy/msvc-dev-cmd@v1
-
- # - name: Install LLVM and Clang
+ # - name: Set up MSVC
# if: matrix.platform == 'windows-latest'
- # uses: KyleMayes/install-llvm-action@v2
- # with:
- # version: "10.0"
+ # uses: ilammy/msvc-dev-cmd@v1
+
+ - name: Install LLVM and Clang
+ if: matrix.platform == 'windows-latest'
+ uses: KyleMayes/install-llvm-action@v2
+ with:
+ version: "10.0"
- name: Build
uses: tauri-apps/tauri-action@v0
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index c47d120b4..fab94c509 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.2.1"
+version = "0.2.2"
description = ""
authors = ["you"]
license = ""
@@ -96,6 +96,7 @@ tauri-plugin-single-instance = "2.0.0-rc.1"
# metal = ["screenpipe-server/metal", "screenpipe-audio/metal"]
cudart = []
metal = [] # unused
+mkl = []
default = ["custom-protocol"]
# TODOS one day
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index e1d9dfff0..242e69000 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -82,7 +82,7 @@ memory-stats = "1.0"
[features]
metal = ["candle/metal", "candle-nn/metal", "candle-transformers/metal"]
cuda = ["candle/cuda", "candle-nn/cuda", "candle-transformers/cuda"]
-
+mkl = ["candle/mkl", "candle-nn/mkl", "candle-transformers/mkl"]
[[bin]]
name = "screenpipe-audio"