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(build): disable AVX-512 in Windows builds to fix crash on Lunar Lake CPUs
louis03019544487ffb3790
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 78f563cac..3abc9fd59 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -741,6 +741,10 @@ jobs:RUSTFLAGS: ${{ matrix.os_type == 'windows' && '-C target-feature=+crt-static -C link-arg=/LTCG' || '' }}VCPKG_STATIC_LINKAGE: "true"KNF_STATIC_CRT: ${{ matrix.os_type == 'windows' && '1' || '' }}+ # Fix whisper.cpp crash on newer CPUs (Lunar Lake, etc.) that lack AVX-512+ # GitHub windows-2019 runners have Xeon CPUs with AVX-512, but GGML_NATIVE=ON+ # compiles with -march=native, causing illegal instruction crashes on CPUs without AVX-512+ CMAKE_ARGS: ${{ matrix.os_type == 'windows' && '-DGGML_NATIVE=OFF -DGGML_AVX512=OFF -DGGML_AVX512_VBMI=OFF -DGGML_AVX512_VNNI=OFF -DGGML_AVX512_BF16=OFF' || '' }}# Fix linuxdeploy crash on AppImage bundlingNO_STRIP: ${{ matrix.os_type == 'linux' && '1' || '' }}LINUXDEPLOY_OUTPUT_VERSION: ${{ matrix.os_type == 'linux' && '1' || '' }}