mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
install rocm from /etc/apt/
This commit is contained in:
parent
7c56a70dd7
commit
d97ff58fab
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ fi
|
|||
sudo apt-get install -y wget gnupg2 coreutils dialog tzdata
|
||||
rocm_version=4.5.2
|
||||
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
|
||||
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/"$rocm_version"/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
|
||||
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/'$rocm_version'/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
|
||||
sudo apt-get update -y && sudo apt-get -y install rocm-llvm
|
||||
export PATH=/opt/rocm-"$rocm_version"/bin:$PATH
|
||||
export LD_LIBRARY_PATH=/opt/rocm-"$rocm_version"/lib:/opt/rocm-"$rocm_version"/llvm/lib:$LD_LIBRARY_PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue