百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

rocm-build

> 编程语言
开源

为 ROCm 构建脚本

186 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

为 ROCm 构建脚本

rocm-build 5.4

中文版

Thanks

Thanks rigtorp providing intial build steps , which contains build steps for HIP on ROCm-3.6.

Thanks jlgreathouse providing , which contains build steps for ROCm-2.0.

Start

My environment is Ubuntu-20.04.5.

Please download sources using repo , and change the path of source in env.sh.

Execute source env.sh to setup environment variables.

Execute bash install-dependency.sh to install dependencies

Then execute bash scripts by order number.

Good luck.


Download sources using repo.

bash
sudo apt install -y repo

mkdir -p ~/ROCm/
cd ~/ROCm/
repo init -u https://github.com/RadeonOpenCompute/ROCm.git -b roc-5.4.x
repo sync

Notice: there is no repo package on ubuntu-20.04, because of slow support for python3.

Download and install repo manually on ubuntu-20.04.

bash
mkdir -p ~/bin/
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH

cmake version

Note: rocBLAS need cmake-3.18.6 from ROCm-5.3. The version of default cmake from ubuntu-20.04 is cmake-3.16.3. We have to download and unpack it to /home/work/local, and execute source env.sh to add custom cmake to PATH environment variables. If you want to use other location, please modify env.sh.

Additional documentations:

  • gfx803 - AMD drop gfx803 offical support on ROCm-4.0, since gfx803 is my only GPU, I need find a way to let it work longer.
  • navi10 - Experiment scripts for building navi10 GPU.
  • navi14 - Experiment scripts for building navi14 GPU.
  • check - Codes for check whether ROCm can run successfully.
  • ubuntu2204 - Patches for ubuntu-22.04.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言