未验证 提交 f98ff2ce 编写于 作者: H HongyuJia 提交者: GitHub

[Fix Bug] Fix CustomOP cmake copy file error in inference (#52171)

上级 c145fd1e
...@@ -53,4 +53,6 @@ file(RENAME ...@@ -53,4 +53,6 @@ file(RENAME
${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/ext_all.h) ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/ext_all.h)
# Included header file of training and inference can be unified as single file: paddle/extension.h # Included header file of training and inference can be unified as single file: paddle/extension.h
file(COPY ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/ext_all.h file(COPY ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/ext_all.h
DESTINATION ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/extension.h) DESTINATION ${PADDLE_INFERENCE_INSTALL_DIR}/paddle)
file(RENAME ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/ext_all.h
${PADDLE_INFERENCE_INSTALL_DIR}/paddle/extension.h)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册