cornell-zhang / heterocl

HeteroCL: A Multi-Paradigm Programming Infrastructure for Software-Defined Heterogeneous Computing
https://cornell-zhang.github.io/heterocl/
Apache License 2.0
326 stars 92 forks source link

Testing does not compile on CircleCI #173

Closed hecmay closed 4 years ago

hecmay commented 4 years ago

The testing on CircleCI failed with the following error when installing TVM for hlib testing. It says the compiler cannot find the config file for VTA. However I can run through the script on our servers and everything works fine.

/usr/local/bin/python: can't open file 'vta/vta-hw/config/vta_config.py': [Errno 2] No such file or directory
-- Build VTA runtime with target: 
/usr/local/bin/python: can't open file 'vta/vta-hw/config/vta_config.py': [Errno 2] No such file or directory
-- Build with contrib.sort
-- Build with contrib.hybriddump

The complete error message: https://circleci.com/gh/cornell-zhang/heterocl/899?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

seanlatias commented 4 years ago

Can you be more specific? Which test? Which PR I should look at?

hecmay commented 4 years ago

Can you be more specific? Which test? Which PR I should look at?

Sorry for that. I found all my PRs do not run through (e.g. In this PR #170, I only added a python file in hlib/op and then it failed the testing).

hecmay commented 4 years ago

Can you be more specific? Which test? Which PR I should look at?

Sorry for that. I found all my PRs do not run through (e.g. In this PR #170, I only added a python file in hlib/op and then it failed the testing).

I guess you can try re-compile the v0.3 branch on CircleCI to reproduce the error. It can be a lot more easier if we have an interactive shell for debugging.

hecmay commented 4 years ago

The issue magically disappears if we re-run the testing flow.