Skip to content

Commit 9fa2372

Browse files
committed
Merge branch 'develop' into use_op
2 parents d0521e6 + 7a9c89f commit 9fa2372

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

paddle/operators/CMakeLists.txt

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function(op_library TARGET)
99
set(OP_LIBRARY ${TARGET} ${OP_LIBRARY} PARENT_SCOPE)
1010
set(cc_srcs)
1111
set(cu_srcs)
12-
set(op_common_deps operator op_registry)
12+
set(op_common_deps operator op_registry math_function)
1313
set(options "")
1414
set(oneValueArgs "")
1515
set(multiValueArgs SRCS DEPS)
@@ -80,17 +80,9 @@ endfunction()
8080
add_subdirectory(math)
8181

8282
set(DEPS_OPS
83-
identity_op
84-
minus_op
85-
mul_op
86-
recurrent_op
87-
scale_op)
88-
op_library(identity_op DEPS scale_op)
89-
op_library(minus_op DEPS scale_op)
90-
op_library(mul_op DEPS math_function)
83+
recurrent_op)
9184
op_library(recurrent_op SRCS recurrent_op.cc rnn/recurrent_op_utils.cc
9285
DEPS framework_proto tensor net_op)
93-
op_library(scale_op DEPS net_op)
9486

9587
list(REMOVE_ITEM GENERAL_OPS ${DEPS_OPS})
9688
foreach(src ${GENERAL_OPS})

0 commit comments

Comments
 (0)