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

Copy necessary library for MKL support (#767)

Neptune9eb63d1ae37a
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 2a9697624..1cbcc0878 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -231,6 +231,13 @@ jobs:
bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
working-directory: ./screenpipe-app-tauri
+ - name: Copy library for MKL
+ if: matrix.tauri-args == '--target x86_64-pc-windows-msvc'
+ run: |
+ $iomp_path = Get-ChildItem -Path . -Filter libiomp5md.dll -Recurse -ErrorAction SilentlyContinue -Force | % { $_.fullname }
+ mkdir screenpipe-app-tauri/src-tauri/mkl/
+ cp $iomp_path screenpipe-app-tauri/src-tauri/mkl/
+
- name: Build
uses: tauri-apps/tauri-action@v0
env:
diff --git a/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json b/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
index 0cb2bd2b9..f12d49936 100644
--- a/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
+++ b/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
@@ -13,7 +13,8 @@
"onnxruntime*\\lib\\onnxruntime.dll": "./",
"onnxruntime*\\lib\\onnxruntime_providers_cuda.dll": "./",
"onnxruntime*\\lib\\onnxruntime_providers_shared.dll": "./",
- "lib\\ollama\\*": "./"
+ "lib\\ollama\\*": "./",
+ "mkl\\*.dll": "./"
}
}
-}
\ No newline at end of file
+}