为 ROCm 构建脚本
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.
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.
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 syncNotice: there is no repo package on ubuntu-20.04, because of slow support for python3.
Download and install repo manually on ubuntu-20.04.
mkdir -p ~/bin/
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATHNote: 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.
暂无开放 Issues,或尚未同步最近议题。