Skip to content

tts-cpp: disable host BLAS auto-linking#172

Merged
jpgaribotti merged 3 commits into
mainfrom
fix/tts-cpp-disable-blas
May 27, 2026
Merged

tts-cpp: disable host BLAS auto-linking#172
jpgaribotti merged 3 commits into
mainfrom
fix/tts-cpp-disable-blas

Conversation

@gianni-cor

@gianni-cor gianni-cor commented May 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Disable ggml BLAS for tts-cpp registry builds with -DGGML_BLAS=OFF.
  • Disable CMake BLAS package discovery with -DCMAKE_DISABLE_FIND_PACKAGE_BLAS=ON so upstream tts-cpp does not opportunistically link host OpenBLAS when cblas.h is installed.
  • Bump tts-cpp to port-version 1 and update registry version metadata.

Test plan

  • Built tts-cpp:x64-linux on qvac-dev-strix-0 from this PR overlay after installing libopenblas-dev.
  • Verified exported tts-cppTargets.cmake contains no OpenBLAS/BLAS link path.
  • Verified compile commands do not define TTS_CPP_USE_CBLAS.
  • Verified nm -u libtts-cpp.a reports no cblas / openblas symbols.
  • python3 -m json.tool ports/tts-cpp/vcpkg.json
  • python3 -m json.tool versions/baseline.json
  • python3 -m json.tool versions/t-/tts-cpp.json
  • Verified git write-tree --prefix=ports/tts-cpp matches the new versions/t-/tts-cpp.json git-tree.

gianni-cor and others added 3 commits May 27, 2026 12:26
Avoid publishing prebuilds with undeclared runner-specific BLAS/OpenBLAS runtime dependencies.

Co-authored-by: Cursor <cursoragent@cursor.com>
Disable BLAS through the normal CMake configure option instead of patching upstream CMake sources.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep tts-cpp from linking host OpenBLAS even when cblas headers are installed on the build machine.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jpgaribotti jpgaribotti merged commit 95239e6 into main May 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants