Skip to content

Commit 2f7b292

Browse files
localai-botmudlerlocalai-org-maint-bot
authored
chore: ⬆️ Update CrispStrobe/CrispASR to 5fca47ecf05cd68bb0075f8a00fe04da06f208d0 (#10963)
* ⬆️ Update CrispStrobe/CrispASR Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(crispasr): initialize only declared submodules The latest upstream commit contains an undeclared CrispASR gitlink that makes a blanket recursive submodule update fail. Limit initialization to the two submodules used by the backend build. Assisted-by: Codex:gpt-5 [Codex] * fix(crispasr): resolve vendored WebRTC from project root CrispASR now builds a vendored WebRTC VAD, but its include paths assume CrispASR is the top-level CMake project. Extend the existing embedded-project rewrite to the shared third_party root. Assisted-by: Codex:gpt-5 [Codex] --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> Co-authored-by: localai-org-maint-bot <306269227+localai-org-maint-bot@users.noreply.github.com>
1 parent 864c84f commit 2f7b292

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

backend/go/crispasr/Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ JOBS?=$(shell nproc --ignore=1)
88

99
# CrispASR version (release tag)
1010
CRISPASR_REPO?=https://github.com/CrispStrobe/CrispASR
11-
CRISPASR_VERSION?=1e6f3ad962dc46d86422c3baa4f3c1110d037e4d
11+
CRISPASR_VERSION?=5fca47ecf05cd68bb0075f8a00fe04da06f208d0
1212
SO_TARGET?=libgocrispasr.so
1313

1414
CMAKE_ARGS+=-DBUILD_SHARED_LIBS=OFF
@@ -60,10 +60,11 @@ sources/CrispASR:
6060
git remote add origin $(CRISPASR_REPO) && \
6161
git fetch origin && \
6262
git checkout $(CRISPASR_VERSION) && \
63-
git submodule update --init --recursive --depth 1 --single-branch
63+
git submodule update --init --recursive --depth 1 --single-branch -- \
64+
ggml third_party/c2pa-audio
6465
# CrispASR's src/CMakeLists.txt locates its vendored llama.cpp
65-
# (crispasr-llama-core, used by the chat C-ABI) and the c2pa-audio
66-
# submodule (crispasr_c2pa_native, the pure-C++ C2PA signer) via
66+
# (crispasr-llama-core, used by the chat C-ABI), c2pa-audio submodule
67+
# (crispasr_c2pa_native, the pure-C++ C2PA signer), and WebRTC VAD via
6768
# ${CMAKE_SOURCE_DIR}, which assumes CrispASR is the top-level CMake
6869
# project. We add_subdirectory it, so ${CMAKE_SOURCE_DIR} is THIS backend
6970
# dir and those sources aren't found. Rewrite to ${PROJECT_SOURCE_DIR}
@@ -72,6 +73,7 @@ sources/CrispASR:
7273
sed -i.bak \
7374
-e 's#\$${CMAKE_SOURCE_DIR}/examples/talk-llama#\$${PROJECT_SOURCE_DIR}/examples/talk-llama#' \
7475
-e 's#\$${CMAKE_SOURCE_DIR}/third_party/c2pa-audio#\$${PROJECT_SOURCE_DIR}/third_party/c2pa-audio#' \
76+
-e 's#\$${CMAKE_SOURCE_DIR}/third_party#\$${PROJECT_SOURCE_DIR}/third_party#' \
7577
sources/CrispASR/src/CMakeLists.txt && rm -f sources/CrispASR/src/CMakeLists.txt.bak
7678

7779
# Detect OS

0 commit comments

Comments
 (0)