Skip to content

Commit

Permalink
[CI] Enable llvm-11 and llvm-10 in build tests, recover webdocs. (apa…
Browse files Browse the repository at this point in the history
…che#5579)

This PR ties up the last loosen end of the recent CI update.
  • Loading branch information
tqchen authored May 13, 2020
1 parent 8eb6584 commit 79485fb
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/api_links.rst → docs/api/links.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>`_
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ API Reference

langref/index
api/python/index
api_links
api/links

Developer Guide
---------------
Expand All @@ -47,7 +47,7 @@ Developer Guide
dev/index

Frontends
----------------
---------
.. toctree::
:maxdepth: 1

Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/task_config_build_cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/task_config_build_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions tests/scripts/task_python_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/task_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79485fb

Please sign in to comment.