Skip to content
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

Merged
merged 3 commits into from
Jun 28, 2019

Conversation

MarisaKirisame
Copy link
Contributor

@MarisaKirisame MarisaKirisame commented Jun 22, 2019

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.

@MarisaKirisame
Copy link
Contributor Author

@MarisaKirisame MarisaKirisame changed the title simplify build script, remove python 2 support [Relay][Parser] simplify build script, remove python 2 support Jun 23, 2019
@yzhliu
Copy link
Member

yzhliu commented Jun 24, 2019

As @zhiics suggested, do we also need to remove some of the auto-generated file in grammar/py3 ?

@tqchen tqchen added the status: need update need update based on feedbacks label Jun 24, 2019
@MarisaKirisame
Copy link
Contributor Author

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

@zhiics
Copy link
Member

zhiics commented Jun 24, 2019

And we probably also what to update the .gitignore file to ignore the update of them, right?

@MarisaKirisame
Copy link
Contributor Author

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

@tqchen
Copy link
Member

tqchen commented Jun 27, 2019

@yzhliu please followup on this PR

@yzhliu yzhliu added status: accepted and removed status: need update need update based on feedbacks labels Jun 28, 2019
@yzhliu yzhliu merged commit b05dc12 into apache:master Jun 28, 2019
@yzhliu
Copy link
Member

yzhliu commented Jun 28, 2019

Thanks @MarisaKirisame @zhiics @tqchen

wweic pushed a commit to wweic/tvm that referenced this pull request Jun 28, 2019
…e#3419)

* simplify build script, remove python 2 support

* remove py2 file

* update py3
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 30, 2019
…e#3419)

* simplify build script, remove python 2 support

* remove py2 file

* update py3
@MarisaKirisame MarisaKirisame deleted the parser branch July 19, 2019 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants