Skip to content

Commit 7087ff0

Browse files
committed
fix(crispasr): link renamed crispasr-lib CMake target
Upstream CrispASR f0491231 renamed the main library CMake target from `crispasr` to `crispasr-lib` (keeping OUTPUT_NAME crispasr, adding only `add_library(whisper ALIAS crispasr-lib)`). The wrapper still referenced the old target name, so CMake degraded `crispasr` to a plain `-lcrispasr` link flag and ld failed with `cannot find -lcrispasr` across the whole backend-build matrix. Point target_link_libraries at the new `crispasr-lib` target. Verified locally: CMake configure now resolves the gocrispasr link line to the real sources/CrispASR/src/libcrispasr.a archive instead of -lcrispasr. Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Assisted-by: Claude:opus-4.8 [Claude Code]
1 parent 5a73a18 commit 7087ff0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/go/crispasr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ target_include_directories(gocrispasr PRIVATE
1414
# whisper. crispasr is the referencer; the backend static libs supply the
1515
# per-architecture symbols; ggml is the math/runtime base.
1616
target_link_libraries(gocrispasr PRIVATE
17-
crispasr
17+
crispasr-lib
1818
parakeet canary canary_ctc cohere granite_speech granite_nle
1919
voxtral voxtral4b qwen3_asr qwen3_tts orpheus chatterbox indextts
2020
kokoro voxcpm2_tts m2m100 t5_translate wav2vec2-ggml vibevoice

0 commit comments

Comments
 (0)