-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add remaining targets to ci.py #10425
Conversation
e0b59f5
to
a047076
Compare
db0cb57
to
01bde8f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good, couple of questions
python/tvm/_ffi/libinfo.py
Outdated
@@ -98,6 +98,10 @@ def find_lib_path(name=None, search_path=None, optional=False): | |||
use_runtime = os.environ.get("TVM_USE_RUNTIME_LIB", False) | |||
dll_path = get_dll_directories() | |||
|
|||
manual_dll_path = os.getenv("TVM_DLL_PATH") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we should say LIB not DLL, since DLL is meaningful only on windows. also, how does this differ from TVM_LIBRARY_PATH?
This adds build/test commands for all of the CI environments except ARM (that one will come in a follow up). Most of the invocations are similar and the scripts come straight from the Jenkinsfile. This improves the current situation by making it much easier to get CI environments locally. This also wraps pytest invocations in CI so that failures are parsed and a repro command is reported at the end of the failing CI run step alongside other logs to increase the visibility into this tool. This isn't perfect yet so some work (such as ARM support and certain tests that require pytest flags like in `tests/scripts/task_python_microtvm.sh`) is left for a follow up.
* Add remaining targets to ci.py This adds build/test commands for all of the CI environments except ARM (that one will come in a follow up). Most of the invocations are similar and the scripts come straight from the Jenkinsfile. This improves the current situation by making it much easier to get CI environments locally. This also wraps pytest invocations in CI so that failures are parsed and a repro command is reported at the end of the failing CI run step alongside other logs to increase the visibility into this tool. This isn't perfect yet so some work (such as ARM support and certain tests that require pytest flags like in `tests/scripts/task_python_microtvm.sh`) is left for a follow up. * remove reporting changes * Clean up common functionality * Address comments * Comments Co-authored-by: driazati <driazati@users.noreply.github.com>
This adds build/test commands for all of the CI environments. Most of the invocations are similar and the scripts come straight from the Jenkinsfile. This improves the current situation by making it much easier to get CI environments locally. In the future we might want to run the Jenkinsfile straight from this script, but for now they're duplicated and we have to keep them in sync manually (not a huge deal).
This isn't completely done yet so some work (such as certain tests that require pytest flags like in
tests/scripts/task_python_microtvm.sh
) is left for a follow up.cc @areusch