Skip to main content

cuid-build-install

Build and install cuid from source. Use when: building locally, installing before tests, pre-review build verification, build + install + verify.

설치로 이동

소스 정보

저장소
ROCm/rocm-systems
최근 소스 활동
2026년 5월 5일 22:59
감지된 SKILL.md 언어
영어
스타
508
포크
414

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
cuid-build-install
description
Build and install cuid from source. Use when: building locally, installing before tests, pre-review build verification, build + install + verify.
# Build & Install cuid Builds cuid from source 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 cuid workspace root ## Build Commands All commands assume `$WORKSPACE` is the cuid workspace root (where `CMakeLists.txt` lives). ### Step 1: Clean ```bash cd "$WORKSPACE" sudo rm -rf build ``` ### Step 2: Uninstall Previous ```bash sudo rm -rf /opt/amdcuid 2>/dev/null || true ``` ### Step 3: Configure & Build ```bash mkdir -p build && cd build cmake .. make -j "$(nproc)" sudo make install ``` ### Step 4: Verify ```bash /opt/amdcuid/bin/amdcuid_tool --version ``` ## One-Shot Command For use in scripts or as a single terminal command: ```bash cd "$WORKSPACE" && \ sudo rm -rf build && \ mkdir -p build && cd build && \ sudo apt remove -y amdcuid 2>/dev/null || true && \ cmake .. && \ make -j "$(nproc)" && \ sudo make install && \ /opt/amdcuid/bin/amdcuid_tool --version ``` ## Output On success, capture and report: - **Build time** (cmake + make duration) - **Package files** produced (names + sizes) - **Installed version** (output of `/opt/amdcuid/bin/amdcuid_tool --version`) - **Any warnings** from cmake or make (even if build succeeded) On failure, capture and report: - **Which step failed** (configure, build, package, install) - **Full error output** from the failing command - **This is ❌ BLOCKING** — a build failure stops the review
GitHub에서 보기