tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tqc...@apache.org
Subject [incubator-tvm] branch master updated: Improve Docker cache reuse by pointing to the current version of the image, (#5466)
Date Tue, 28 Apr 2020 23:32:49 GMT
This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/master by this push:
     new 7060688  Improve Docker cache reuse by pointing to the current version of the image,
(#5466)
7060688 is described below

commit 7060688059f7ddc22cc0623fecfd87ee18d11214
Author: Leandro Nunes <leandro.nunes@arm.com>
AuthorDate: Wed Apr 29 00:32:38 2020 +0100

    Improve Docker cache reuse by pointing to the current version of the image, (#5466)
    
    on top of another image to be used as reference.
---
 docker/build.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker/build.sh b/docker/build.sh
index d5925dc..43f0a08 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -67,6 +67,7 @@ fi
 if [[ "$1" == "--cache-from" ]]; then
     shift 1
     cached_image="$1"
+    CI_DOCKER_BUILD_EXTRA_PARAMS+=("--cache-from tvm.$CONTAINER_TYPE")
     CI_DOCKER_BUILD_EXTRA_PARAMS+=("--cache-from $cached_image")
     shift 1
 fi


Mime
View raw message