Skip to content

Commit b1d68ba

Browse files
committed
test=release1.3
1 parent 633f379 commit b1d68ba

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

paddle/fluid/operators/reduce_ops/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
include(operators)
2-
register_operators()
2+
if(WITH_GPU)
3+
register_operators(DEPS cub)
4+
else()
5+
register_operators()
6+
endif()
37

48
if(WITH_GPU)
59
file(GLOB OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.part.cu")

python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ELSE(WIN32)
5454
DEPENDS copy_paddle_pybind ${FLUID_CORE} framework_py_proto profiler_py_proto ${PY_FILES} ${external_project_dependencies} ${COPY_PADDLE_MASTER})
5555
ENDIF()
5656

57-
set(paddle_python_deps ${PADDLE_PYTHON_BUILD_DIR}/.timestamp ${MKL_DEPENDS})
57+
set(paddle_python_deps ${PADDLE_PYTHON_BUILD_DIR}/.timestamp ${MKL_DEPENDS} ${external_project_dependencies})
5858
add_custom_target(paddle_python ALL DEPENDS ${paddle_python_deps})
5959

6060
set(PADDLE_PYTHON_PACKAGE_DIR ${CMAKE_CURRENT_BINARY_DIR}/dist/)

0 commit comments

Comments
 (0)