diff options
| author | historia <historiavg@proton.me> | 2026-08-25 17:41:58 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-25 17:41:58 -0400 |
| commit | bcac6c42eaf9e004716d72960bddefb1db68a93c (patch) | |
| tree | aa9a32b20b67c927be11565f6788ed589c1d5f54 /app/backends/audiocpp.py | |
| parent | 60dadfba145cefd35bced0634949172112da3691 (diff) | |
| download | tts-audiobook-generator-bcac6c42eaf9e004716d72960bddefb1db68a93c.tar.gz | |
fix: build audio.cpp with --deployment-build
Diffstat (limited to 'app/backends/audiocpp.py')
| -rwxr-xr-x | app/backends/audiocpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/backends/audiocpp.py b/app/backends/audiocpp.py index b950ac6..0feb480 100755 --- a/app/backends/audiocpp.py +++ b/app/backends/audiocpp.py @@ -1931,7 +1931,7 @@ def build_audiocpp(audiocpp_dir: Path, backend: str, *, common.record_post_tui_notice(message) return patch_rc argv = ["sh", str(script), "--backend", backend, "--target", - "audiocpp_server"] + "audiocpp_server", "--deployment-build"] command = f"cd {audiocpp_dir} && {shlex.join(argv)}" if emit is None: print(f"[INFO] Building audiocpp_server for {backend} ({command})...") @@ -2003,7 +2003,7 @@ def _print_launch_hint(audiocpp_dir: Path, output_path: Path, script = find_build_script(audiocpp_dir) if script is not None: print(f" sh {script} --backend <cuda|vulkan|hip|cpu> " - "--target audiocpp_server") + "--target audiocpp_server --deployment-build") print(f" then run: cd {audiocpp_dir} && ./build/<platform>-<backend>" f"-release/bin/audiocpp_server --config {output_path}") |
