Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【CMake opt No.5】rm some DEPS of test/cpp/fluid/cinn/CMakeLists.txt #60235

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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