You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/03/25 18:07:31 UTC

[GitHub] [tvm] tqchen opened a new issue #7744: [CI] Fix Rust Docs Build

tqchen opened a new issue #7744:
URL: https://github.com/apache/tvm/issues/7744


   see https://github.com/apache/tvm/pull/7743
   
   The recent outrages coulde due to multiple folds of reasons:
   
   - The lack of environment variable updates as in task_rust.sh vs the task_python_docs
   - Change of cargo behavior due to updates? (more likely below)
   - The cargo might caches previous docs build if files does not change (the recent PR of Device refactor triggers a rebuild).
   
   Possible steps:
   - Fix the rust docs build script to make sure it always build correctly
   - Consider some option like force rebuild that always rebuilds the docs(assuming not taking a lot time) regardless of caching


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] tqchen commented on issue #7744: [CI] Fix Rust Docs Build

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #7744:
URL: https://github.com/apache/tvm/issues/7744#issuecomment-826803653


   cc @jroesch 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] binarybana commented on issue #7744: [CI] Fix Rust Docs Build

Posted by GitBox <gi...@apache.org>.
binarybana commented on issue #7744:
URL: https://github.com/apache/tvm/issues/7744#issuecomment-807471745


   I believe the key error was:
   > error: couldn't read /workspace/rust/tvm-sys/src/c_runtime_api.rs: No such file or directory (os error 2)
   
   And not the LLVM path because that `LLVM_CONFIG_PATH` warning shows up in previous successful runs.
   
   `c_runtime_api.rs` is normally generated by [bindgen here](https://github.com/apache/tvm/blob/883954ee45b51ca8e2ff96714520a676cd1f8f74/rust/tvm-sys/build.rs#L79). So perhaps that got deleted and bindgen didn't get triggered as part of a semi-stale cache (so didn't trigger `build.rs`)? But I don't have time to dig deeper.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org