2 Commits

Author SHA1 Message Date
b72251bf2c scripts/install_deps_linux.sh: ask before refreshing an empty apt index
With empty apt lists the installer ran apt-get update before its first
prompt, so answering no still changed the index. It now asks first
("Refresh the package lists now?"), puts apt-get update in the shown
plan otherwise, and one confirm() handles n, Enter and EOF as no.

Suggested by xel1uz in the review of #1140.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:58:23 +01:00
e535a24bb6 scripts: install the Linux prerequisites in one command (BUILD-LINUX-DEPS-INSTALLER)
scripts/install_deps_linux.sh installs what docs/linux.md lists with apt
(Debian, Ubuntu and derivatives), dnf or pacman. It takes the newest
llvm-21 or later the distribution packages, leaves out optional packages
it lacks, shows the commands and asks before running them (--dry-run,
--yes, --minimal), then checks Python 3.12+, llvm-mc with AMDGPU,
SPIRV-Tools, CMake 3.24+, Ninja, a C++ compiler and the Vulkan headers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:58:23 +01:00