You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/07/12 21:48:20 UTC

[tvm] 35/47: fixup! install cmake from ppa in all images

This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit e60b4e5f7362b4d8c0f49f5e49f92713329308e6
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Mon Jun 27 16:42:35 2022 -0700

    fixup! install cmake from ppa in all images
---
 docker/install/ubuntu_install_core.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/install/ubuntu_install_core.sh b/docker/install/ubuntu_install_core.sh
index 058061b9b2..8c6b4fcc98 100755
--- a/docker/install/ubuntu_install_core.sh
+++ b/docker/install/ubuntu_install_core.sh
@@ -50,7 +50,7 @@ apt-get update && apt-install-and-clear -y --no-install-recommends \
     wget \
 
 wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
-echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
+echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
 apt-get update && apt-install-and-clear -y --no-install-recommends \
     cmake=3.16.5-0kitware1 \
     cmake-data=3.16.5-0kitware1 \