CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
1.7 KiB
1.7 KiB
name, description
| name | description |
|---|---|
| cuid-build-install | 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
sudoaccess 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
cd "$WORKSPACE"
sudo rm -rf build
Step 2: Uninstall Previous
sudo rm -rf /opt/amdcuid 2>/dev/null || true
Step 3: Configure & Build
mkdir -p build && cd build
cmake ..
make -j "$(nproc)"
sudo make install
Step 4: Verify
/opt/amdcuid/bin/amdcuid_tool --version
One-Shot Command
For use in scripts or as a single terminal command:
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