Skip to content

Commit

Permalink
Fix LLVM repo for jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfurmanek committed Aug 7, 2024
1 parent f7371de commit ae3ac17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tensorflow/tools/tf_sig_build_dockerfiles/setup.rocm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ if [[ "$DISTRO" == "focal" ]] || [[ "$DISTRO" == "jammy" ]]; then
fi
apt-get update --allow-insecure-repositories

wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -;
echo "deb [arch=amd64 trusted=yes] http://apt.llvm.org/$DISTRO/ llvm-toolchain-$DISTRO-17 main" | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
echo "deb [arch=amd64 trusted=yes] http://apt.llvm.org/$DISTRO/ llvm-toolchain-$DISTRO-17 main" | tee /etc/apt/sources.list.d/llvm.list
apt-get update --allow-insecure-repositories

# install rocm
/setup.packages.sh /devel.packages.rocm.txt

apt-get update --allow-insecure-repositories
MIOPENKERNELS=$( \
apt-cache search --names-only miopen-hip-gfx | \
awk '{print $1}' | \
Expand Down

0 comments on commit ae3ac17

Please sign in to comment.