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 79485fb  [CI] Enable llvm-11 and llvm-10 in build tests, recover 
webdocs. (#5579)
79485fb is described below

commit 79485fb3437065b936d461f0ebf6918e3450d9d6
Author: Tianqi Chen <[email protected]>
AuthorDate: Tue May 12 19:31:45 2020 -0700

    [CI] Enable llvm-11 and llvm-10 in build tests, recover webdocs. (#5579)
    
    This PR ties up the last loosen end of the recent CI update.
---
 docs/{api_links.rst => api/links.rst}   | 4 ++--
 docs/index.rst                          | 4 ++--
 tests/scripts/task_config_build_cpu.sh  | 2 +-
 tests/scripts/task_config_build_wasm.sh | 2 +-
 tests/scripts/task_python_docs.sh       | 7 +++++++
 tests/scripts/task_rust.sh              | 2 +-
 6 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/docs/api_links.rst b/docs/api/links.rst
similarity index 92%
rename from docs/api_links.rst
rename to docs/api/links.rst
index b2a66a5..8c22cf8 100644
--- a/docs/api_links.rst
+++ b/docs/api/links.rst
@@ -16,10 +16,10 @@
     under the License.
 
 Links to API References
-==================================
+=======================
 
 This page contains links to API references that are build with different doc 
build system.
 
 * `C++ doyxgen API <doxygen/index.html>`_
-* `Javascript jsdoc API <jsdoc/index.html>`_
+* `Typescript typedoc API <typedoc/index.html>`_
 * `Java Javadoc API <javadoc/index.html>`_
diff --git a/docs/index.rst b/docs/index.rst
index 258547a..5e3fa45 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -37,7 +37,7 @@ API Reference
 
    langref/index
    api/python/index
-   api_links
+   api/links
 
 Developer Guide
 ---------------
@@ -47,7 +47,7 @@ Developer Guide
    dev/index
 
 Frontends
-----------------
+---------
 .. toctree::
    :maxdepth: 1
 
diff --git a/tests/scripts/task_config_build_cpu.sh 
b/tests/scripts/task_config_build_cpu.sh
index 3cd8a3c..9c1cf28 100755
--- a/tests/scripts/task_config_build_cpu.sh
+++ b/tests/scripts/task_config_build_cpu.sh
@@ -29,7 +29,7 @@ echo set\(USE_MICRO_STANDALONE_RUNTIME ON\) >> config.cmake
 echo set\(USE_GRAPH_RUNTIME_DEBUG ON\) >> config.cmake
 echo set\(USE_VM_PROFILER ON\) >> config.cmake
 echo set\(USE_EXAMPLE_EXT_RUNTIME ON\) >> config.cmake
-echo set\(USE_LLVM llvm-config-9\) >> config.cmake
+echo set\(USE_LLVM llvm-config-10\) >> config.cmake
 echo set\(USE_NNPACK ON\) >> config.cmake
 echo set\(NNPACK_PATH /NNPACK/build/\) >> config.cmake
 echo set\(USE_ANTLR ON\) >> config.cmake
diff --git a/tests/scripts/task_config_build_wasm.sh 
b/tests/scripts/task_config_build_wasm.sh
index 6fa9259..cf388eb 100755
--- a/tests/scripts/task_config_build_wasm.sh
+++ b/tests/scripts/task_config_build_wasm.sh
@@ -29,7 +29,7 @@ echo set\(USE_MICRO_STANDALONE_RUNTIME ON\) >> config.cmake
 echo set\(USE_GRAPH_RUNTIME_DEBUG ON\) >> config.cmake
 echo set\(USE_VM_PROFILER ON\) >> config.cmake
 echo set\(USE_EXAMPLE_EXT_RUNTIME ON\) >> config.cmake
-echo set\(USE_LLVM llvm-config-10\) >> config.cmake
+echo set\(USE_LLVM llvm-config-11\) >> config.cmake
 echo set\(USE_ANTLR ON\) >> config.cmake
 echo set\(CMAKE_CXX_COMPILER g++\) >> config.cmake
 echo set\(CMAKE_CXX_FLAGS -Werror\) >> config.cmake
diff --git a/tests/scripts/task_python_docs.sh 
b/tests/scripts/task_python_docs.sh
index 41006f4..5d0e42e 100755
--- a/tests/scripts/task_python_docs.sh
+++ b/tests/scripts/task_python_docs.sh
@@ -46,12 +46,19 @@ rm -f docs/doxygen/html/*.map docs/doxygen/html/*.md5
 # Java doc
 make javadoc
 
+# type doc
+cd web
+npm install
+npm run typedoc
+cd ..
+
 # Prepare the doc dir
 rm -rf _docs
 mv docs/_build/html _docs
 rm -f _docs/.buildinfo
 mv docs/doxygen/html _docs/doxygen
 mv jvm/core/target/site/apidocs _docs/javadoc
+mv web/dist/docs _docs/typedoc
 
 echo "Start creating the docs tarball.."
 # make the tarball
diff --git a/tests/scripts/task_rust.sh b/tests/scripts/task_rust.sh
index 93195e4..1cbf4fa 100755
--- a/tests/scripts/task_rust.sh
+++ b/tests/scripts/task_rust.sh
@@ -24,7 +24,7 @@ export TVM_HOME="$(git rev-parse --show-toplevel)"
 export LD_LIBRARY_PATH="$TVM_HOME/lib:$TVM_HOME/build:${LD_LIBRARY_PATH:-}"
 export PYTHONPATH="$TVM_HOME/python":"$TVM_HOME/topi/python"
 export RUST_DIR="$TVM_HOME/rust"
-export LLVM_CONFIG_PATH=`which llvm-config-9`
+export LLVM_CONFIG_PATH=`which llvm-config-10`
 echo "Using $LLVM_CONFIG_PATH"
 
 cd $RUST_DIR

Reply via email to