# Build Compute

> Builds and installs rocprof-compute through a CMake helper script with coverage and dev presets. Use when a user asks to build rocprof-compute, run coverage builds, or tune CMake build/install flags.

- Skill: `abchoudh-amd/build-compute` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add abchoudh-amd/build-compute`
- Raw SKILL.md: https://api.skillmd.com/api/skills/abchoudh-amd/build-compute/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: abchoudh-amd (https://skillmd.com/u/abchoudh-amd)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/abchoudh-amd/build-compute

---


# Build Compute

Build and install rocprof-compute by running:
`~/.cursor/skills/build-compute/scripts/build-compute.sh`.

## Quick start

1. Run the default coverage build from the rocprof-compute source root:

```bash
~/.cursor/skills/build-compute/scripts/build-compute.sh
```

2. Use dev preset for faster iteration:

```bash
~/.cursor/skills/build-compute/scripts/build-compute.sh \
  --preset dev
```

## Behavior rules

- Presets supported: `coverage` (default) and `dev`.
- Script always cleans `build/` and `install/` before configuring.
- Jobs default to host CPU auto-detection; override with `--jobs`.
- Scope for this workflow: Linux + ROCm developer environments.
- Test execution is handled by the sibling `test-compute` skill.

## Additional resources

- [REFERENCE.md](REFERENCE.md)
- [EXAMPLES.md](EXAMPLES.md)

