Build ROCm from source

Build ROCm from source#

Applies to Linux and Windows

2024-07-25

3 min read time

ROCm is an open-source stack from which you can build from source code. The source code is available from ROCm/ROCm.

The general steps to build ROCm are:

  1. Clone the ROCm source code

  2. Prepare the build environment

  3. Run the build command

Because the ROCm stack is constantly evolving, the most current instructions are stored with the source code in GitHub. For detailed build instructions, see Build ROCm from source