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

fix compile bugs on aarch64 platform #57931

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

USTCKAY
Copy link
Contributor

@USTCKAY USTCKAY commented Oct 8, 2023

PR types

Bug fixes

PR changes

Others

Description

pybind的CMakeLists.txt文件中在编译eager_legacy_op_function_generator移除了对python的依赖,导致aarch64架构下出现引用了未定义的符号错误,如下图:
image

#56555 为了解决libssl.so找不到的问题,转而使用静态库,但在aarch64架构下会报如下错误:
d0bf92f516a66e879159b739ee320847

所以针对这两处bug,都采用了条件编译的方法来绕过。本地验证能正常编译通过:
image

@paddle-bot
Copy link

paddle-bot bot commented Oct 8, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@2742195759 2742195759 left a comment

Choose a reason for hiding this comment

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

LGTM

@2742195759 2742195759 merged commit 0a09db3 into PaddlePaddle:develop Oct 9, 2023
27 checks passed
@USTCKAY USTCKAY deleted the fix_arm_compile branch October 10, 2023 02:21
Frida-a pushed a commit to Frida-a/Paddle that referenced this pull request Oct 14, 2023
jiahy0825 pushed a commit to jiahy0825/Paddle that referenced this pull request Oct 16, 2023
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants