From cd55385ad78f9478188128c0ea8e9f035a908c1a Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Wed, 3 Aug 2022 21:10:44 -0500 Subject: [PATCH] take back unnecessary header file (#44831) --- python/setup.py.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/setup.py.in b/python/setup.py.in index 1b36b272d0..864a0a417c 100755 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -618,7 +618,11 @@ headers = ( list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/backends', recursive=True)) + # phi backends headers list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/core', recursive=True)) + # phi core headers list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/infermeta', recursive=True)) + # phi infermeta headers - list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/kernels', recursive=True)) + # phi kernels headers + list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/kernels')) + # phi kernels headers + list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/kernels/sparse')) + # phi sparse kernels headers + list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/kernels/selected_rows')) + # phi selected_rows kernels headers + list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/kernels/strings')) + # phi sparse kernels headers + list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/kernels/primitive')) + # phi kernel primitive api headers # capi headers list(find_files('*.h', '@PADDLE_SOURCE_DIR@/paddle/phi/capi', recursive=True)) + # phi capi headers # utils api headers -- GitLab