--- name: amdsmi-build-install description: "Build and install amd-smi from source. Use when: building locally, installing before tests, pre-review build verification, build + install + verify." --- # Build & Install amd-smi Builds amd-smi from source, packages it, and installs locally. Used by the review agent as a pre-step before dispatching subagents, and can be invoked independently. ## Prerequisites - CMake, make, and a C/C++ toolchain installed - `sudo` access for package install - Working directory must be the amd-smi workspace root ## CI Build Matrix The local build commands below target one host. CI builds the same artifact across the matrix in [.github/workflows/amdsmi-build.yml](.github/workflows/amdsmi-build.yml) (`os:` lists at lines 28, 142, 366, 568). Image strings come from GitHub repo variables (`vars._DOCKER_IMAGE`) and resolve to AMD-internal registries. Run `gh variable get