gromero opened a new pull request #9683:
URL: https://github.com/apache/tvm/pull/9683


   Although an action (build, test, or release) is always required by
   base-tool-box.py currently actions are not set as "required" in the
   parser, hence it doesn't complain when an action is missing and later
   when 'args.platform' attribute (present in all actions) is referenced
   the tool exits abruptly due to an AttributeError (because 'platform' is
   not set), without giving any clue on what went wrong. For instance:
   
   $ python3 ./base-box-tool.py --provider virtualbox # no action is given
   
   This commit fixes it by setting action subparsers as required so the
   parser complains when no action is specified.
   
   Signed-off-by: Gustavo Romero <[email protected]>
   
   Thanks for contributing to TVM!   Please refer to guideline 
https://tvm.apache.org/docs/contribute/ for useful information and tips. After 
the pull request is submitted, please request code reviews from 
[Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers)
 by @ them in the pull request thread.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to