[PATCH] D120826: [Dockerfile] Upgrade debian base image to version 10

Sam McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 07:13:12 PDT 2022


sammccall accepted this revision.
sammccall added a comment.
This revision is now accepted and ready to land.

Thank you!

In D120826#3402209 <https://reviews.llvm.org/D120826#3402209>, @XiaodongLoong wrote:

> In D120826#3399374 <https://reviews.llvm.org/D120826#3399374>, @sammccall wrote:
>
>> 3.16 for debian9 is available in stretch-backports <https://backports.debian.org/Instructions/>, will that work for this purpose?
>> If not debian10 does sound like the best we can do.
>
> I add the following item in sources.list.
>
>   deb http://deb.debian.org/debian stretch-backports main
>
> Then I run the command blow and get the python version.
>
>   $ apt-get update && apt list python3
>   ...
>   python3/oldoldstable 3.5.3-1 amd64
>
> So I think python 3.6 for debian9 is not available in stretch-backports.

You're absolutely right, I'm sorry. I was confusing python and cmake.
Debian 10 sounds great, thank you.



================
Comment at: llvm/docs/Docker.rst:135
 differ in the base image that they use, i.e. they have a different set of
 preinstalled binaries. Debian8 is very minimal, nvidia-cuda is larger, but has
 preinstalled CUDA libraries and allows to access a GPU, installed on your
----------------
nit: Debian10


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120826/new/

https://reviews.llvm.org/D120826



More information about the llvm-commits mailing list