diff options
| author | historia <historiavg@proton.me> | 2026-08-28 02:43:27 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-28 02:43:27 -0400 |
| commit | 5c3db8f500ff206f3a675d8f4184cb0d61f94804 (patch) | |
| tree | eab36bc6ff0e55bd27871d9154f1bc0764f20af6 /app/backends/audiocpp/wizard.py | |
| parent | a7c653313d2bb1e185cfbc3f0f52c2fe33218600 (diff) | |
| download | tts-audiobook-generator-5c3db8f500ff206f3a675d8f4184cb0d61f94804.tar.gz | |
feat: cuda arch detection for shorter builds, build failure detection
Diffstat (limited to 'app/backends/audiocpp/wizard.py')
| -rw-r--r-- | app/backends/audiocpp/wizard.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/backends/audiocpp/wizard.py b/app/backends/audiocpp/wizard.py index 46b6638..c59da8f 100644 --- a/app/backends/audiocpp/wizard.py +++ b/app/backends/audiocpp/wizard.py @@ -574,7 +574,11 @@ def _execute_lanes(settings: dict, def build_step(emit, cancel): rc = _build.build_audiocpp(audiocpp_dir, settings["backend"], emit=emit, cancel=cancel) - if rc != 0: + if rc == 124: + print("[WARNING] build went silent and was stopped; the " + "server.json was still written — build " + "audiocpp_server manually before starting it") + elif rc != 0: print(f"[WARNING] build exited with code {rc}; the server.json " "was still written — build audiocpp_server manually " "before starting it") |
