未验证 提交 f4be9d6a 编写于 作者: Q QingshuChen 提交者: GitHub

add bkcl.so in whl for kunlun (#29947)

上级 726c78f2
...@@ -322,6 +322,10 @@ if '${WITH_XPU}' == 'ON': ...@@ -322,6 +322,10 @@ if '${WITH_XPU}' == 'ON':
package_data['paddle.libs']+=['${XPU_API_LIB_NAME}', package_data['paddle.libs']+=['${XPU_API_LIB_NAME}',
'${XPU_RT_LIB_NAME}'] '${XPU_RT_LIB_NAME}']
if '${WITH_XPU_BKCL}' == 'ON':
shutil.copy('${XPU_BKCL_LIB}', libs_path)
package_data['paddle.libs']+=['${XPU_BKCL_LIB_NAME}']
# copy libfuild_framework.so to libs # copy libfuild_framework.so to libs
if os.name != 'nt' and sys.platform != 'darwin': if os.name != 'nt' and sys.platform != 'darwin':
paddle_framework_lib='${FLUID_FRAMEWORK_SHARED_LIB}' paddle_framework_lib='${FLUID_FRAMEWORK_SHARED_LIB}'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册