strip inference.so and make link to mkldnn.so #34895
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR types
Others
PR changes
Others
Describe
1、对libpaddle_inference.so 和 libpaddle_inference_c.so 进行 strip,去除符号信息。
2、对third_party/mkldnn中的so进行软链
3、对third_party/mkldnn mklml目录中的so进行strip
测试条件:
sm: 52 60 61 70 75 80
commtid:b0a1d122c3cdde00284706ff904bdeb48378490e
核心动态库,strip前后测试数据
整个预测库压缩为tgz后的体积 (C++和C压缩后体积不同的原因在于C++中打包了静态库)
gcc编译选项测试数据
todo