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

[BUG_FIX]Fix compilation bugs #8834

Merged
merged 1 commit into from
Apr 18, 2022
Merged

[BUG_FIX]Fix compilation bugs #8834

merged 1 commit into from
Apr 18, 2022

Conversation

weishengying
Copy link
Collaborator

@weishengying weishengying commented Apr 13, 2022

cmake config过程中需要运行几个python脚本来生成一些文件, 如果python 链接到2.7版本,则可以正常生成,如果python链接到了3.5 3.6等,则无法正常生成,该pr做出修改:
1、如果没有正确生成,则在cmake config过程中报错并终止,不用等到编译过程中报错。
image

2、修改脚本,是python2 python3都可以使cmake过程正常。

@paddle-bot-old
Copy link

Thanks for your contribution!

Copy link
Collaborator

@chenjiaoAngel chenjiaoAngel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@hong19860320 hong19860320 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants