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

Bump app to v2.0.103 release-app

Louis Beaumontbb0f001cdccb
diff --git a/.github/workflows/release-app-beta.yml b/.github/workflows/release-app-beta.yml
index 49e4956a8..104dcde94 100644
--- a/.github/workflows/release-app-beta.yml
+++ b/.github/workflows/release-app-beta.yml
@@ -170,11 +170,10 @@ jobs:
export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"
export PKG_CONFIG_ALLOW_CROSS=1
# Fix i8mm build error - force M1 compatible architecture
- # GGML_NO_NATIVE prevents whisper.cpp from using native CPU detection
+ # -U__ARM_FEATURE_MATMUL_INT8 undefines i8mm macro
if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then
- export CFLAGS="-mcpu=apple-m1"
- export CXXFLAGS="-mcpu=apple-m1"
- export GGML_NO_NATIVE=1
+ export CFLAGS="-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8"
+ export CXXFLAGS="-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8"
fi
fi
cargo build --release -p screenpipe-server ${{ matrix.args }}
@@ -206,11 +205,9 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
CI: true
- # Fix i8mm - use apple-m1 target for M1 compatibility
- # GGML_NO_NATIVE prevents whisper.cpp from using native CPU detection
- CFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-mcpu=apple-m1' || '' }}
- CXXFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-mcpu=apple-m1' || '' }}
- GGML_NO_NATIVE: ${{ matrix.target == 'aarch64-apple-darwin' && '1' || '' }}
+ # Fix i8mm - undefine i8mm macro for M1 compatibility
+ CFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8' || '' }}
+ CXXFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8' || '' }}
with:
args: ${{ matrix.tauri-args }}
projectPath: "./screenpipe-app-tauri"
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 2d7e554d2..b9b187c26 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -435,13 +435,12 @@ jobs:
export PKG_CONFIG_ALLOW_CROSS=1
# Fix i8mm build error - force M1 compatible architecture
# M1 = armv8.4-a (no i8mm), M2+ = armv8.5-a+ (has i8mm)
- # CMAKE_OSX_ARCHITECTURES prevents whisper.cpp CMake from auto-detecting and using native CPU features
+ # -U__ARM_FEATURE_MATMUL_INT8 undefines the i8mm macro to prevent
+ # the code from using i8mm intrinsics that aren't available on M1
# See: https://github.com/ggml-org/whisper.cpp/issues/3427
if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then
- export CFLAGS="-mcpu=apple-m1"
- export CXXFLAGS="-mcpu=apple-m1"
- export CMAKE_APPLE_SILICON_PROCESSOR="arm64"
- export GGML_NO_NATIVE=1
+ export CFLAGS="-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8"
+ export CXXFLAGS="-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8"
fi
fi
cargo build --release -p screenpipe-server ${{ matrix.args }}
@@ -540,13 +539,10 @@ jobs:
# https://tauri.app/v1/guides/distribution/sign-macos
CI: true
# Fix i8mm build error - force M1 compatible architecture
- # M1 = armv8.4-a (no i8mm), M2+ = armv8.5-a+ (has i8mm)
- # GGML_NO_NATIVE prevents whisper.cpp from using native CPU detection
+ # -U__ARM_FEATURE_MATMUL_INT8 undefines i8mm macro
# See: https://github.com/ggml-org/whisper.cpp/issues/3427
- CFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-mcpu=apple-m1' || '' }}
- CXXFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-mcpu=apple-m1' || '' }}
- GGML_NO_NATIVE: ${{ matrix.target == 'aarch64-apple-darwin' && '1' || '' }}
- CMAKE_APPLE_SILICON_PROCESSOR: ${{ matrix.target == 'aarch64-apple-darwin' && 'arm64' || '' }}
+ CFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8' || '' }}
+ CXXFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8' || '' }}
# Optimize for build speed on Windows
CARGO_PROFILE_RELEASE_LTO: ${{ matrix.os_type == 'windows' && 'thin' || 'false' }}
CARGO_PROFILE_RELEASE_OPT_LEVEL: ${{ matrix.os_type == 'windows' && '2' || '3' }}
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index 98be46b24..12363c2b9 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -74,13 +74,11 @@ jobs:
export PKG_CONFIG_ALLOW_CROSS=1
export RUSTFLAGS="-C link-arg=-Wl,-rpath,@executable_path/../lib -C link-arg=-Wl,-rpath,@loader_path/../lib"
# Fix i8mm build error - force M1 compatible architecture
- # M1 = armv8.4-a (no i8mm), M2+ = armv8.5-a+ (has i8mm)
- # GGML_NO_NATIVE prevents whisper.cpp from using native CPU detection
+ # -U__ARM_FEATURE_MATMUL_INT8 undefines i8mm macro
# See: https://github.com/ggml-org/whisper.cpp/issues/3427
if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then
- export CFLAGS="-mcpu=apple-m1"
- export CXXFLAGS="-mcpu=apple-m1"
- export GGML_NO_NATIVE=1
+ export CFLAGS="-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8"
+ export CXXFLAGS="-mcpu=apple-m1 -U__ARM_FEATURE_MATMUL_INT8"
fi
cargo build --release --features metal --target ${{ matrix.target }}
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 9a22ccc37..62e3e5d44 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -5629,7 +5629,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "2.0.100"
+version = "2.0.102"
dependencies = [
"anyhow",
"async-stream",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 8ef0e1c1a..d21c5c943 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 = "2.0.102"
+version = "2.0.103"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""