Skip to content

Commit

Permalink
Fix ub24 dockerfile (#2697)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfurmanek authored Oct 1, 2024
1 parent 863a13f commit ca988e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ libssl-dev
libtool
libzmq3-dev
lld-17
mlocate
moreutils
openjdk-11-jdk
openjdk-11-jre-headless
Expand Down
Empty file.
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 @@ -31,11 +31,11 @@ if [[ -n $1 ]]; then
ROCM_VERSION=$1
fi
if [[ -n $2 ]]; then
if [[ "$2" == "noble" ]] || [[ "$2" == "focal" ]] || [[ "$2" == "jammy" ]] || [[ "$2" == "el7" ]] || [[ "$2" == "el8" ]]; then
if [[ "$2" == "focal" ]] || [[ "$2" == "jammy" ]] || [[ "$2" == "noble" ]] || [[ "$2" == "el7" ]] || [[ "$2" == "el8" ]]; then
DISTRO=$2
else
echo "Distro not supported"
echo "Supported distros are:\n noble\n focal\n jammy\n el7\n el8"
echo "Supported distros are:\n focal\n jammy\n noble\n el7\n el8"
exit 1
fi
fi
Expand All @@ -49,7 +49,7 @@ else
ROCM_VERS=$ROCM_VERSION
fi

if [[ "$DISTRO" == "noble" ]] || [[ "$DISTRO" == "focal" ]] || [[ "$DISTRO" == "jammy" ]]; then
if [[ "$DISTRO" == "focal" ]] || [[ "$DISTRO" == "jammy" ]] || [[ "$DISTRO" == "noble" ]]; then
ROCM_DEB_REPO_HOME=https://repo.radeon.com/rocm/apt/
AMDGPU_DEB_REPO_HOME=https://repo.radeon.com/amdgpu/
ROCM_BUILD_NAME=${DISTRO}
Expand Down

0 comments on commit ca988e6

Please sign in to comment.