Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion distro_install_scripts/Ubuntu/common/deb_install_rocm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ echo "deb [trusted=yes arch=amd64] file:///${REAL_SOURCE_DIR}/apt_2.0.0.89/ xeni

sudo apt update

if [ `lsb_release -rs` = "18.10" ]; then
sys_version=`lsb_release -rs` # lsb-core already installed
sys_version_first=${sys_version%%.*}
sys_version_tail=${sys_version#*.}
sys_version_second=`expr ${sys_version_tail%%.*} + 0`
if [[ sys_version_first -ge 18 && sys_version_second -ge 10 ]]; then
# On Ubuntu 18.10, we can skip the kernel module because the proper
# KFD version is available in the upstream kernel to allow our user-land
# tools to work. This misses some features, but ROCm 2.0.0 kernel module
Expand Down