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

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


The following commit(s) were added to refs/heads/v0.6 by this push:
     new 2cd6321  [0.6-BACKPORT] Improve robustness of the docs build (#5583)
2cd6321 is described below

commit 2cd6321dc5828eaaf0c2198a180d66d2d47550c4
Author: Tianqi Chen <[email protected]>
AuthorDate: Tue May 12 17:17:40 2020 -0700

    [0.6-BACKPORT] Improve robustness of the docs build (#5583)
---
 tests/scripts/task_python_docs.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/scripts/task_python_docs.sh 
b/tests/scripts/task_python_docs.sh
index be51172..8a11d24 100755
--- a/tests/scripts/task_python_docs.sh
+++ b/tests/scripts/task_python_docs.sh
@@ -25,6 +25,12 @@ rm -rf docs/_build/html/javadoc
 
 # remove stale tutorials and always build from scratch.
 rm -rf docs/tutorials
+rm -rf docs/vta/tutorials
+
+# cleanup stale log files
+find . -type f -path "*.log" | xargs rm -f
+find . -type f -path "*.pyc" | xargs rm -f
+make cython3
 
 # C++ doc
 make doc
@@ -37,7 +43,6 @@ mv out docs/_build/html/jsdoc
 make javadoc
 mv jvm/core/target/site/apidocs docs/_build/html/javadoc
 
-rm -rf python/tvm/*.pyc python/tvm/*/*.pyc python/tvm/*/*/*.pyc
 
 cd docs
 PYTHONPATH=`pwd`/../python make html

Reply via email to