File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
file (GLOB UTILS_PY_FILES . ./paddle/utils/*.py )
2
- file (GLOB_RECURSE FLUID_PY_FILES ./paddle/fluid/ *.py )
2
+ file (GLOB_RECURSE FLUID_PY_FILES ./paddle/fluid/*.py )
3
3
set (PY_FILES paddle/__init__.py
4
4
${UTILS_PY_FILES}
5
5
${FLUID_PY_FILES} )
6
6
7
7
if (NOT WITH_FLUID_ONLY )
8
8
file (GLOB TRAINER_PY_FILES . ./paddle/trainer/*.py )
9
9
file (GLOB HELPERS_PY_FILES . ./paddle/trainer_config_helpers/*.py )
10
- file (GLOB_RECURSE V2_PY_FILES ./paddle/v2/ *.py )
10
+ file (GLOB_RECURSE V2_PY_FILES ./paddle/v2/*.py )
11
11
set (PY_FILES ${PY_FILES}
12
12
${TRAINER_PY_FILES}
13
13
${HELPERS_PY_FILES}
@@ -55,7 +55,7 @@ add_custom_target(copy_paddle_pybind ALL DEPENDS ${PADDLE_BINARY_DIR}/python/pad
55
55
56
56
add_custom_command (OUTPUT ${PADDLE_PYTHON_BUILD_DIR} /.timestamp
57
57
COMMAND touch stub.cc
58
- COMMAND ${CMAKE_COMMAND} -E copy_directory ${PADDLE_SOURCE_DIR} /python/paddle ${PADDLE_BINARY_DIR} /python/paddle
58
+ COMMAND cp -r ${PADDLE_SOURCE_DIR} /python/paddle ${PADDLE_BINARY_DIR} /python
59
59
COMMAND cp -r ${PADDLE_SOURCE_DIR} /paddle/py_paddle ${PADDLE_BINARY_DIR} /python/
60
60
COMMAND env ${py_env} ${PYTHON_EXECUTABLE} setup.py bdist_wheel
61
61
COMMAND ${CMAKE_COMMAND} -E touch ${PADDLE_PYTHON_BUILD_DIR} /.timestamp
You can’t perform that action at this time.
0 commit comments