未验证 提交 b4e25436 编写于 作者: H Huihuang Zheng 提交者: GitHub

Add libcinnapi.so to setup.py.in (#37068)

Add libcinnapi.so to setup.py.in
上级 8b2c906a
......@@ -464,6 +464,10 @@ if '${WITH_LITE}' == 'ON':
shutil.copy('${LITE_NNADAPTER_NPU_LIB}', libs_path)
package_data['paddle.libs']+=['libnnadapter_driver_huawei_ascend_npu' + ext_name]
if '${WITH_CINN}' == 'ON':
shutil.copy('${CINN_LIB_LOCATION}/${CINN_LIB_NAME}', libs_path)
package_data['paddle.libs']+=['libcinnapi.so']
if '${WITH_PSLIB}' == 'ON':
shutil.copy('${PSLIB_LIB}', libs_path)
if os.path.exists('${PSLIB_VERSION_PY}'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册