Skip to content

Commit fbede4c

Browse files
authored
use python3.7 install script in ci-qemu (#10799)
* use python3.7 install script in ci-qemu * update pyton venv to 3.7 * setuptools is just python3... * don't use apt-add-repository (breaks with python3.7 as python3 on ubuntu 18.04
1 parent f88e43f commit fbede4c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docker/Dockerfile.ci_qemu

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ RUN apt-get update --fix-missing
2424
COPY install/ubuntu_install_core.sh /install/ubuntu_install_core.sh
2525
RUN bash /install/ubuntu_install_core.sh
2626

27+
COPY install/ubuntu1804_install_python.sh /install/ubuntu1804_install_python.sh
28+
RUN bash /install/ubuntu1804_install_python.sh
29+
2730
COPY install/ubuntu1804_install_python_venv.sh /install/ubuntu1804_install_python_venv.sh
2831
RUN bash /install/ubuntu1804_install_python_venv.sh
2932
ENV PATH=/opt/tvm-venv/bin:/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin:$PATH

docker/install/ubuntu1804_install_python_venv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ set -o pipefail
2323
# install python and pip, don't modify this, modify install_python_package.sh
2424
apt-get update
2525
apt-get install -y software-properties-common
26-
apt-get install -y python3-dev python3-setuptools python3-venv
26+
apt-get install -y python3.7-dev python3-setuptools python3.7-venv
2727

2828
python3 -mvenv /opt/tvm-venv
2929

docker/install/ubuntu_install_zephyr.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ sudo apt-get install -y --no-install-recommends \
3636
wget --no-verbose https://apt.kitware.com/keys/kitware-archive-latest.asc
3737
sudo apt-key add kitware-archive-latest.asc
3838

39-
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
39+
echo deb https://apt.kitware.com/ubuntu/ bionic main\
40+
>> /etc/apt/sources.list.d/kitware.list
4041
sudo apt-get update
4142

4243
sudo apt-get install -y cmake

0 commit comments

Comments
 (0)