Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # use with caution, this is just what I did to deal with
- # deficiencies in amd's rocm installer
- #assumes ubuntu jammy
- dpkg -i amdgpu-install_6.1.60103-1_all.deb
- amdgpu-install --rocmrelease=6.1.3
- apt update
- apt dist-upgrade
- for q in hsa-rocr_1.13.0.60103-122~22.04_amd64.deb rocminfo_1.0.0.60103-122~22.04_amd64.deb rocm-core_6.1.3.60103-122~22.04_amd64.deb comgr_2.7.0.60103-122~22.04_amd64.deb hip-dev_6.1.40093.60103-122~22.04_amd64.deb rocm-llvm_17.0.0.24193.60103-122~22.04_amd64.deb hipcc_1.0.0.60103-122~22.04_amd64.deb hsakmt-roct-dev_20240125.5.08.60103-122~22.04_amd64.deb hsa-rocr-dev_1.13.0.60103-122~22.04_amd64.deb hip-runtime-amd_6.1.40093.60103-122~22.04_amd64.deb openmp-extras-runtime_17.60.0.60103-122~22.04_amd64.deb rocm-opencl_2.0.0.60103-122~22.04_amd64.deb rocm-opencl-icd-loader_1.2.60103-122~22.04_amd6 ; do dpkg -i --force-overwrite /var/cache/apt/archives/$q ; done
- dpkg -i --force-overwrite /var/cache/apt/archives/rocm-opencl-icd-loader_1.2.60103-122~22.04_amd64.deb
- dpkg -i --force-overwrite /var/cache/apt/archives/rocprofiler-register_0.3.0.60103-122~22.04_amd64.deb
- apt install --fix-broken
- apt dist-upgrade
- cd /opt/rocm-6.1.3/bin/
- rm amdclang* amdlld offload-arch
- apt update
- apt dist-upgrade
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement