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/05/17 22:28:55 UTC

[tvm] 18/34: fix build tag

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 ffdf5e6515ed09d3505f4a4879378263de0131ee
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Thu May 12 17:14:25 2022 -0700

    fix build tag
---
 docker/build-base-images.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docker/build-base-images.sh b/docker/build-base-images.sh
index fa56c37e57..e26a25b863 100755
--- a/docker/build-base-images.sh
+++ b/docker/build-base-images.sh
@@ -20,7 +20,8 @@ for docker_file in "${IMAGES[@]}"; do
     $(dirname $0)/build.sh "base_${arch}"  # --platform "${arch}"
 
     # NOTE: working dir inside docker is repo root.
-    $(dirname $0)/bash.sh -i "tvm.base_${arch}:latest" python3 docker/freeze_deps.py \
+    BUILD_TAG=$(echo "${BUILD_TAG:-tvm}" | sed 's/-/--/g' | sed 's/%/-/g')
+    $(dirname $0)/bash.sh -i "${BUILD_TAG}.base_${arch}:latest" python3 docker/freeze_deps.py \
                  --ci-constraints=docker/ci-constraints.txt \
                  --gen-requirements-py=python/gen_requirements.py \
                  --template-pyproject-toml=pyproject.toml \