-
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
[Relay][Parser] simplify build script, remove python 2 support #3419
Conversation
As @zhiics suggested, do we also need to remove some of the auto-generated file in grammar/py3 ? |
@yzhliu I removed all the files in py3 and did a clean make. It also removed the .gitattributes but it didnt seem to be of any use. |
And we probably also what to update the .gitignore file to ignore the update of them, right? |
@zhiics the generated parser file is included, because we do not expect everyone working on relay to has ANTLR installed. This way only ppl modifying the parser need to install ANTLR. |
@yzhliu please followup on this PR |
Thanks @MarisaKirisame @zhiics @tqchen |
…e#3419) * simplify build script, remove python 2 support * remove py2 file * update py3
…e#3419) * simplify build script, remove python 2 support * remove py2 file * update py3
This pr remove the antlr jar finding process and use antlr4 directly instead.
Also, it remove python2 support for the parser, as tvm ditch python 2 suppoty.