Skip to content

Commit a3ce6e9

Browse files
committed
[Unify headerfile] Inference headerfile includes paddle/extension.h
1 parent 2d9e103 commit a3ce6e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/phi_header.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ phi_header_path_compat(
5151
file(RENAME
5252
${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/extension.h
5353
${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/ext_all.h)
54+
# Included header file of training and inference can be unified as single file: paddle/extension.h
55+
file(COPY ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/include/experimental/ext_all.h
56+
DESTINATION ${PADDLE_INFERENCE_INSTALL_DIR}/paddle/extension.h)

0 commit comments

Comments
 (0)