Skip to content

[docker] Update CI to Python 3.7 and Ubuntu 18 - #10247

Merged
Mousius merged 2 commits into
apache:mainfrom
driazati:up37
Feb 21, 2022
Merged

[docker] Update CI to Python 3.7 and Ubuntu 18#10247
Mousius merged 2 commits into
apache:mainfrom
driazati:up37

Conversation

@driazati

@driazatidriazati commented Feb 15, 2022

Copy link
Copy Markdown
Member

This updates the docker image build to use Python 3.7 and Ubuntu 18 as discussed in #9703. The update is mostly straightforward except that the apt boost isn't built with 3.7 so we must now build it from source.

cc @leandron@areusch

@driazati
driazati marked this pull request as ready for review February 15, 2022 01:31
@driazatidriazati changed the title Update CI to Python 3.7 and Ubuntu 18[docker] Update CI to Python 3.7 and Ubuntu 18Feb 15, 2022
Comment threaddocker/install/ubuntu_install_boost.sh
Comment threaddocker/install/ubuntu_install_boost.sh Outdated

@leandronleandron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this @driazati - I have a set of patches lined up for the Ubuntu 20 migration, that we can plan for the near future.

In the meantime, a few comments below.

Comment threaddocker/install/ubuntu1804_install_python.sh Outdated
Comment threaddocker/install/ubuntu_install_boost.sh
Comment threaddocker/install/ubuntu_install_caffe.sh

wget -q -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
apt-get update && apt-get install -y llvm-4.0 llvm-9 llvm-8 llvm-7 clang-9 libclang-9-dev clang-8 libclang-8-dev clang-7 libclang-7-dev
apt-get install -y llvm-4.0 llvm-9 llvm-8 llvm-7 clang-9 libclang-9-dev clang-8 libclang-8-dev clang-7 libclang-7-dev

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a separate issue, but do we still need LLVM 4?

This updates the docker image build to use Python 3.7 and Ubuntu 18 as discussed in #9703. The update is mostly straightforward except that the `apt` boost isn't built with 3.7 so we must now build it from source.

@leandronleandron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @driazati

@Mousius
Mousius merged commit 3ffef3d into apache:mainFeb 21, 2022
@Mousius

Copy link
Copy Markdown
Member

Thanks for this @driazati, looking forward to these images 😸

Mousius added a commit to Mousius/tvm that referenced this pull request Feb 22, 2022
Looks like we did need the redirect in (apache#10247), otherwise you get a
blank redirect response and `tar` doesn't like that very much:
```
tar: This does not look like a tar archive
gzip: stdin: unexpected end of file
```
Mousius added a commit that referenced this pull request Feb 23, 2022
…10343)
Looks like we did need the redirect in (#10247), otherwise you get a
blank redirect response and `tar` doesn't like that very much:
```
tar: This does not look like a tar archive
gzip: stdin: unexpected end of file
```
@masahimasahi mentioned this pull request Mar 27, 2022
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
This updates the docker image build to use Python 3.7 and Ubuntu 18 as discussed in apache#9703. The update is mostly straightforward except that the `apt` boost isn't built with 3.7 so we must now build it from source.
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
…pache#10343)
Looks like we did need the redirect in (apache#10247), otherwise you get a
blank redirect response and `tar` doesn't like that very much:
```
tar: This does not look like a tar archive
gzip: stdin: unexpected end of file
```
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@driazati@Mousius@leandron@mshr-h@denise-k