Skip to content

Commit

Permalink
rm some DEPS of test/cpp/fluid/cinn/CMakeLists.txt (#60235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccsuzzh authored Dec 22, 2023
1 parent 24cb6de commit 8f4c811
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions test/cpp/fluid/cinn/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
if(WITH_TESTING)
paddle_test(
cinn_launch_context_test
SRCS
cinn_launch_context_test.cc
DEPS
fleet_executor
phi
lod_tensor
scope
proto_desc
graph
cinn_launch_context
cinn_instruction_run_op
cinnapi
paddle_flags)
paddle_test(cinn_launch_context_test SRCS cinn_launch_context_test.cc)
target_link_libraries(cinn_launch_context_test ${PYTHON_LIBRARIES})
set_tests_properties(cinn_launch_context_test PROPERTIES LABELS
"RUN_TYPE=CINN")
Expand All @@ -22,15 +8,7 @@ if(WITH_TESTING)
"OMP_NUM_THREADS=1;runtime_include_dir=${CINN_INCLUDE_DIR}/paddle/cinn/runtime/cuda/"
)

paddle_test(
cinn_instruction_run_op_test
SRCS
cinn_instruction_run_op_test.cc
DEPS
cinn_launch_op
cinn_instruction_run_op
elementwise_add_op
paddle_flags)
paddle_test(cinn_instruction_run_op_test SRCS cinn_instruction_run_op_test.cc)
target_link_libraries(cinn_instruction_run_op_test ${PYTHON_LIBRARIES})

get_property(
Expand Down

0 comments on commit 8f4c811

Please sign in to comment.