diff --git a/build/rocm.sh b/build/rocm.sh index bffd906..9b67b0c 100644 --- a/build/rocm.sh +++ b/build/rocm.sh @@ -2,16 +2,21 @@ set -e -# install script dependencies +# Install script dependencies apt-get -qq install build-essential cmake repo git git-lfs -# repo sync +# Repo sync repo init -u https://github.com/RadeonOpenCompute/ROCm.git -b roc-5.7.x repo sync -# prepare rocm-build -git clone https://github.com/xuhuisheng/rocm-build.git --branch 59b87dc62972c1ad32a8862e9ea6b5921c1f33a0 -cd rocm-build && source env.sh && sh install-dependency.sh +# Prepare rocm-build +git clone https://github.com/xuhuisheng/rocm-build.git +cd rocm-build +git checkout 59b87dc62972c1ad32a8862e9ea6b5921c1f33a0 + +# Load build environment +source env.sh +sh install-dependency.sh # Array of script names matching the pattern [0-9][0-9].?????.sh scripts=($(ls -1v [0-9][0-9].*.sh))