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

chore: remove dead MKL/Intel OpenMP code from CI and app

Louis Beaumont5da67b881030
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 9f193cf84..6629482e4 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -104,33 +104,6 @@ jobs:
version: "10.0"
directory: "C:\\Program Files\\LLVM"
- - name: Install pip
- uses: actions/setup-python@v5
- with:
- python-version: "3.13"
-
- - name: Copy library for MKL
- shell: pwsh
- run: |
- $mkl_dir = "apps/screenpipe-app-tauri/src-tauri/mkl"
- New-Item -ItemType Directory -Force -Path $mkl_dir | Out-Null
- python -m pip install --upgrade pip
- $temp_dir = "temp_omp"
- New-Item -ItemType Directory -Force -Path $temp_dir | Out-Null
- Write-Host "Installing Intel OpenMP..."
- python -m pip install intel-openmp --target $temp_dir
- Write-Host "Copying DLL files..."
- Get-ChildItem -Path $temp_dir -Recurse -Filter "*.dll" | ForEach-Object {
- Write-Host "Copying $_"
- Copy-Item $_.FullName -Destination $mkl_dir -Force
- }
- $dll_count = (Get-ChildItem -Path $mkl_dir -Filter "*.dll").Count
- Write-Host "Found $dll_count DLLs in target directory"
- if ($dll_count -eq 0) {
- throw "No DLLs found in target directory!"
- }
- Remove-Item -Path $temp_dir -Recurse -Force
-
- name: Download ONNX Runtime (CPU)
shell: pwsh
run: |
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 198a78a27..23ac2fc13 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -231,7 +231,7 @@ jobs:
tauri-args: "--target x86_64-apple-darwin --features metal,official-build"
os_type: "macos"
- platform: ${{ needs.check_commit.outputs.windows_runner || 'windows-2022' }}
- args: "--target x86_64-pc-windows-msvc --features mkl,vulkan"
+ args: "--target x86_64-pc-windows-msvc --features vulkan"
pre-build-args: ""
tauri-args: "--target x86_64-pc-windows-msvc --features official-build,vulkan"
os_type: "windows"
@@ -413,7 +413,6 @@ jobs:
apps/screenpipe-app-tauri/src-tauri/target
apps/screenpipe-app-tauri/.tauri
apps/screenpipe-app-tauri/src-tauri/WixTools
- apps/screenpipe-app-tauri/src-tauri/mkl
apps/screenpipe-app-tauri/src-tauri/vcredist
# Ollama binaries and libs
apps/screenpipe-app-tauri/src-tauri/ollama-*
@@ -627,55 +626,6 @@ jobs:
run: bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
working-directory: ${{ github.workspace }}/apps/screenpipe-app-tauri
- - name: Check Python availability
- if: matrix.os_type == 'windows'
- id: check-python
- shell: powershell
- run: |
- if (Get-Command python -ErrorAction SilentlyContinue) {
- $ver = python --version 2>&1
- Write-Host "Python already available: $ver"
- echo "has_python=true" >> $env:GITHUB_OUTPUT
- } else {
- echo "has_python=false" >> $env:GITHUB_OUTPUT
- }
-
- - uses: actions/setup-python@v5
- if: matrix.os_type == 'windows' && steps.check-python.outputs.has_python != 'true'
- with:
- python-version: '3.13'
-
- - name: Copy library for MKL
- if: matrix.os_type == 'windows'
- shell: powershell
- run: |
- # Create target directory
- $mkl_dir = "apps/screenpipe-app-tauri/src-tauri/mkl"
- New-Item -ItemType Directory -Force -Path $mkl_dir | Out-Null
-
- # Install and copy Intel OpenMP
- python -m pip install --upgrade pip
- $temp_dir = "temp_omp"
- New-Item -ItemType Directory -Force -Path $temp_dir | Out-Null
-
- Write-Host "Installing Intel OpenMP..."
- python -m pip install intel-openmp --target $temp_dir
-
- Write-Host "Copying DLL files..."
- Get-ChildItem -Path $temp_dir -Recurse -Filter "*.dll" | ForEach-Object {
- Write-Host "Copying $_"
- Copy-Item $_.FullName -Destination $mkl_dir -Force
- }
-
- # Verify DLLs were copied
- $dll_count = (Get-ChildItem -Path $mkl_dir -Filter "*.dll").Count
- Write-Host "Found $dll_count DLLs in target directory"
- if ($dll_count -eq 0) {
- throw "No DLLs found in target directory!"
- }
-
- Remove-Item -Path $temp_dir -Recurse -Force
-
- name: Download ONNX Runtime (CPU) for Windows
if: matrix.os_type == 'windows'
shell: pwsh
@@ -1112,7 +1062,7 @@ jobs:
Push-Location ..
# Skip frontend rebuild (already built for stable) and vulkan
$env:TAURI_CLI_CONFIG = '{"build":{"beforeBuildCommand":""}}'
- bunx tauri build --target x86_64-pc-windows-msvc --features mkl,vulkan,official-build
+ bunx tauri build --target x86_64-pc-windows-msvc --features vulkan,official-build
Pop-Location
Write-Host "=== Beta rebuild complete ==="
diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.yml
index 9c2c467cd..5e0dd5dba 100644
--- a/.github/workflows/release-enterprise-windows.yml
+++ b/.github/workflows/release-enterprise-windows.yml
@@ -79,7 +79,6 @@ jobs:
apps/screenpipe-app-tauri/node_modules
apps/screenpipe-app-tauri/src-tauri/target
apps/screenpipe-app-tauri/.tauri
- apps/screenpipe-app-tauri/src-tauri/mkl
apps/screenpipe-app-tauri/src-tauri/vcredist
apps/screenpipe-app-tauri/src-tauri/ollama-*
apps/screenpipe-app-tauri/src-tauri/lib/ollama
@@ -158,30 +157,6 @@ jobs:
working-directory: apps/screenpipe-app-tauri
run: bun ./scripts/pre_build.js
- - name: Check Python
- id: check-python
- shell: powershell
- run: |
- if (Get-Command python -ErrorAction SilentlyContinue) { echo "has_python=true" >> $env:GITHUB_OUTPUT } else { echo "has_python=false" >> $env:GITHUB_OUTPUT }
-
- - uses: actions/setup-python@v5
- if: steps.check-python.outputs.has_python != 'true'
- with:
- python-version: "3.13"
-
- - name: Copy library for MKL
- shell: powershell
- run: |
- $mkl_dir = "apps/screenpipe-app-tauri/src-tauri/mkl"
- New-Item -ItemType Directory -Force -Path $mkl_dir | Out-Null
- $temp_dir = "temp_omp"
- New-Item -ItemType Directory -Force -Path $temp_dir | Out-Null
- python -m pip install --upgrade pip
- python -m pip install intel-openmp --target $temp_dir
- Get-ChildItem -Path $temp_dir -Recurse -Filter "*.dll" | ForEach-Object { Copy-Item $_.FullName -Destination $mkl_dir -Force }
- if ((Get-ChildItem -Path $mkl_dir -Filter "*.dll").Count -eq 0) { throw "No DLLs found" }
- Remove-Item -Path $temp_dir -Recurse -Force
-
- name: Download ONNX Runtime (CPU) for Windows
shell: pwsh
run: |
@@ -223,7 +198,7 @@ jobs:
KNF_STATIC_CRT: "1"
CMAKE_ARGS: "-DGGML_NATIVE=OFF -DGGML_AVX512=OFF -DGGML_AVX512_VBMI=OFF -DGGML_AVX512_VNNI=OFF -DGGML_AVX512_BF16=OFF"
with:
- args: "--target x86_64-pc-windows-msvc --features mkl,vulkan,enterprise-build"
+ args: "--target x86_64-pc-windows-msvc --features vulkan,enterprise-build"
projectPath: "./apps/screenpipe-app-tauri"
tauriScript: bunx tauri -v
retryAttempts: 3
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3c4a3dd6b..291c41dc1 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -94,32 +94,7 @@ before you begin:
git clone https://github.com/screenpipe/screenpipe.git
cd screenpipe
```
-6. **setup Intel OpenMP DLLs**:
- - make sure your in root of the project i.e screenpipe
- - Ensure Python and `pip` are installed before running the script.
-
- ```powershell
- cd screenpipe
- # Define the target directory where Intel OpenMP DLLs will be copied
- $mkl_dir = (pwd).Path + "\apps\screenpipe-app-tauri\src-tauri\mkl"
- New-Item -ItemType Directory -Force -Path $mkl_dir | Out-Null
-
- python -m pip install --upgrade pip
- $temp_dir = "temp_omp"
- New-Item -ItemType Directory -Force -Path $temp_dir | Out-Null
-
- Write-Host "Installing Intel OpenMP..."
- python -m pip install intel-openmp --target $temp_dir
-
- Write-Host "Copying DLL files..."
- Get-ChildItem -Path $temp_dir -Recurse -Filter "*.dll" | ForEach-Object {
- Write-Host "Copying $_"
- Copy-Item $_.FullName -Destination $mkl_dir -Force
- }
- # Clean up the temporary directory
- Remove-Item -Path $temp_dir -Recurse -Force
- ```
-7. **make sure vcredist is present on system**:
+6. **make sure vcredist is present on system**:
- make sure your in root of the project i.e screenpipe
```powershell
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 0a33386b6..31d0762cf 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -173,7 +173,6 @@ lazy_static = "1.5.0"
metal = ["screenpipe-audio/metal"]
pulseaudio = ["screenpipe-audio/pulseaudio"]
vulkan = ["screenpipe-audio/vulkan"]
-mkl = []
cargo-clippy = []
default = ["custom-protocol", "qwen3-asr"]
diff --git a/apps/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json b/apps/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
index db52ec3cd..ad6f5821a 100644
--- a/apps/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
+++ b/apps/screenpipe-app-tauri/src-tauri/tauri.windows.conf.json
@@ -21,7 +21,6 @@
"ffmpeg\\bin\\*.dll": "./",
"ffmpeg\\lib\\*": "./",
"onnxruntime*\\lib\\onnxruntime.dll": "./",
- "mkl\\*.dll": "./",
"vcredist\\*.dll": "./",
"assets/*": "./assets/"
}