Skip to content

Commit

Permalink
Improve readme on how to fetch ROCm sources (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
sogartar authored May 20, 2024
1 parent 6f70eda commit 91781ae
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,27 @@ We want ROCm sources checked out into the sources/ directory or if you check it
python ./build_tools/fetch_sources.py
```

This will use the [repo](https://source.android.com/docs/setup/reference/repo)
tool with modified ROCm [manifest](https://github.com/nod-ai/ROCm/blob/the-rock-main/default.xml).
It will also apply patches to some of the repositories.

Alternatively, for a specific ROCm version e.g. 6.1.0

```
python ./build_tools/fetch_sources.py \
--manifest-url https://github.com/ROCm/ROCm.git \
--manifest-branch refs/tags/rocm-6.1.0
```

This will also apply the patches to the downloaded source files.

## Manually

Checkout the latest development branch with
```
mkdir ~/github/rocm
cd ~/github/rocm
repo init -u https://github.com/RadeonOpenCompute/ROCm.git
repo init -u https://github.com/ROCm/ROCm.git
repo sync -j16
```
Use `-b roc-6.0.x` if you need a specific branch of ROCm sources.
Expand Down

0 comments on commit 91781ae

Please sign in to comment.