mirror of
https://github.com/mudler/LocalAI.git
synced 2026-07-30 09:57:57 -04:00
* ⬆️ Update CrispStrobe/CrispASR Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(crispasr): rewrite c2pa-audio submodule path for subproject builds CrispASR a38cb89 adds a crispasr_c2pa_native static library whose sources live in the new third_party/c2pa-audio git submodule, located via CMAKE_SOURCE_DIR in src/CMakeLists.txt. That variable assumes CrispASR is the top-level CMake project; LocalAI embeds it via add_subdirectory, so the path resolved to backend/go/crispasr/third_party/c2pa-audio and every build variant failed at CMake generate with 'Cannot find source file: c2pa_native.cpp'. Extend the existing talk-llama sed workaround to also rewrite the c2pa-audio reference to PROJECT_SOURCE_DIR, which is correct both standalone and as a subproject. The submodule itself is already checked out by the recursive submodule init. Verified locally: the exact CI error reproduces with CMAKE_SOURCE_DIR, and with the rewrite CMake configure, crispasr_c2pa_native, and crispasr-lib all build cleanly on a CPU-only fallback configuration. Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Assisted-by: Claude Code:claude-opus-4-8 --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>