move GLOB_OP_LIB deps to executor_test

revert-4814-Add_sequence_project_op
qijun 8 years ago
parent ccea4c5772
commit 8e7975da3f

@ -42,11 +42,11 @@ add_custom_command(TARGET framework_py_proto POST_BUILD
cc_library(backward SRCS backward.cc DEPS net_op)
cc_test(backward_test SRCS backward_test.cc DEPS backward recurrent_op device_context)
cc_library(executor SRCS executor.cc DEPS op_registry device_context scope framework_proto backward ${GLOB_OP_LIB})
cc_library(executor SRCS executor.cc DEPS op_registry device_context scope framework_proto backward)
if(WITH_GPU)
nv_test(executor_test SRCS executor_test.cc DEPS executor)
nv_test(executor_test SRCS executor_test.cc DEPS executor ${GLOB_OP_LIB})
else()
cc_test(executor_test SRCS executor_test.cc DEPS executor)
cc_test(executor_test SRCS executor_test.cc DEPS executor ${GLOB_OP_LIB})
endif()
cc_library(tensor_array SRCS tensor_array.cc DEPS lod_tensor)

Loading…
Cancel
Save