# build_rocm **Repository Path**: qihangkong/build_rocm ## Basic Information - **Project Name**: build_rocm - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-29 - **Last Updated**: 2024-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rocm_softstack 本仓库主要用来编译 ROCM及相关源码,并将其归一化到一个脚本里面执行。 # 1. 获取源码 下载DRM代码 ``` git clone https://gitlab.freedesktop.org/mesa/drm.git ``` 通过repo下载ROCM的源码: ``` repo init -u https://github.com/RadeonOpenCompute/ROCm.git -b roc-6.0.2 repo sync ``` # 2. 编译源码 ``` ./scripts/build_rocm.sh ``` # 参考资料 - https://rocm.docs.amd.com/projects/HIP/en/latest/developer_guide/build.html - https://github.com/xuhuisheng/rocm-build/