未验证 提交 54b86fd4 编写于 作者: R risemeup1 提交者: GitHub

fix cinn compile error (#54899)

上级 bb42d870
if(WITH_CINN)
set(eager_deps ${eager_deps} cinn_compiler python)
endif()
cc_test_old( cc_test_old(
test_egr_ds_eager_tensor test_egr_ds_eager_tensor
SRCS SRCS
...@@ -5,8 +8,7 @@ cc_test_old( ...@@ -5,8 +8,7 @@ cc_test_old(
DEPS DEPS
fleet_executor fleet_executor
final_dygraph_function final_dygraph_function
${eager_deps} ${eager_deps})
python)
cc_test_old( cc_test_old(
test_egr_ds_auotgrad_meta test_egr_ds_auotgrad_meta
SRCS SRCS
...@@ -14,13 +16,9 @@ cc_test_old( ...@@ -14,13 +16,9 @@ cc_test_old(
DEPS DEPS
fleet_executor fleet_executor
final_dygraph_function final_dygraph_function
${eager_deps} ${eager_deps})
python)
if(NOT ((NOT WITH_PYTHON) AND ON_INFER)) if(NOT ((NOT WITH_PYTHON) AND ON_INFER))
if(WITH_CINN)
set(eager_deps ${eager_deps} cinn_compiler python)
endif()
cc_test_old( cc_test_old(
test_egr_ds_grad_tensor_holder test_egr_ds_grad_tensor_holder
SRCS SRCS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册