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

mousius pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 1fd1b79  [ci] Move pip dependencies to docker images, add ninja / 
shellcheck (#10257)
1fd1b79 is described below

commit 1fd1b794fe3b50075ce45418546ee6999a36bc73
Author: driazati <[email protected]>
AuthorDate: Wed Mar 16 02:55:49 2022 -0700

    [ci] Move pip dependencies to docker images, add ninja / shellcheck (#10257)
    
    Following on from #10246, this moves the `pip install`-at-runtime deps to 
the docker image install so they are baked in.
---
 docker/Dockerfile.ci_lint                       | 2 +-
 docker/install/ubuntu_install_core.sh           | 2 +-
 docker/install/ubuntu_install_python_package.sh | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/docker/Dockerfile.ci_lint b/docker/Dockerfile.ci_lint
index 08d3ebf..868e941 100644
--- a/docker/Dockerfile.ci_lint
+++ b/docker/Dockerfile.ci_lint
@@ -30,7 +30,7 @@ RUN bash /install/ubuntu1804_install_python.sh
 # Globally disable pip cache
 RUN pip config set global.no-cache-dir false
 
-RUN apt-get update && apt-get install -y doxygen graphviz curl
+RUN apt-get update && apt-get install -y doxygen graphviz curl shellcheck
 
 RUN pip3 install cpplint pylint==2.4.4 mypy==0.902 black==20.8b1 flake8==3.9.2
 
diff --git a/docker/install/ubuntu_install_core.sh 
b/docker/install/ubuntu_install_core.sh
index f3e97cb..f9f03fb 100755
--- a/docker/install/ubuntu_install_core.sh
+++ b/docker/install/ubuntu_install_core.sh
@@ -24,7 +24,7 @@ set -o pipefail
 apt-get update && apt-get install -y --no-install-recommends \
         git make google-mock libgtest-dev cmake wget unzip libtinfo-dev 
libz-dev \
         libcurl4-openssl-dev libssl-dev libopenblas-dev g++ sudo \
-        apt-transport-https graphviz pkg-config curl
+        apt-transport-https graphviz pkg-config curl ninja-build parallel
 
 if [[ -d /usr/src/googletest ]]; then
   # Single package source (Ubuntu 18.04)
diff --git a/docker/install/ubuntu_install_python_package.sh 
b/docker/install/ubuntu_install_python_package.sh
index b96ed3a..700f5ca 100755
--- a/docker/install/ubuntu_install_python_package.sh
+++ b/docker/install/ubuntu_install_python_package.sh
@@ -33,10 +33,12 @@ pip3 install --upgrade \
     Pillow \
     psutil \
     pytest \
+    tlcpack-sphinx-addon==0.2.1 \
     pytest-profiling \
     pytest-xdist \
     requests \
     scipy \
     synr==0.6.0 \
+    junitparser==2.4.2 \
     six \
     tornado

Reply via email to