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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(ci): use march=armv8.5-a for CLI macOS aarch64 (same as app workflow)
Louis Beaumontc2f0a34964f1
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.ymlindex 12d2c3f4c..2181ade12 100644--- a/.github/workflows/release-cli.yml+++ b/.github/workflows/release-cli.yml@@ -73,10 +73,11 @@ jobs:export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"export PKG_CONFIG_ALLOW_CROSS=1export RUSTFLAGS="-C link-arg=-Wl,-rpath,@executable_path/../lib -C link-arg=-Wl,-rpath,@loader_path/../lib"- # For aarch64, disable i8mm to fix whisper-rs-sys compilation on GitHub runners+ # Fix i8mm build error on GitHub runners - target armv8.5-a which doesn't include i8mm+ # See: https://github.com/ggml-org/whisper.cpp/issues/3427if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then- export CFLAGS="-mcpu=apple-m1"- export CXXFLAGS="-mcpu=apple-m1"+ export CFLAGS="-march=armv8.5-a"+ export CXXFLAGS="-march=armv8.5-a"ficargo build --release --features metal --target ${{ matrix.target }}