未验证 提交 369605be 编写于 作者: Y YUNSHEN XIE 提交者: GitHub

fix cmake error when execute build_inference_lib (#28503)

上级 241505c2
......@@ -9,6 +9,6 @@ cc_library(fusion_group_pass
SRCS fusion_group_pass.cc elementwise_group_detector.cc
DEPS subgraph_detector fuse_pass_base code_generator device_code)
cc_test(test_fusion_group_pass SRCS fusion_group_pass_tester.cc DEPS fusion_group_pass graph_viz_pass)
if(WITH_GPU AND NOT ON_INFER)
if(WITH_TESTING)
set_tests_properties(test_code_generator PROPERTIES TIMEOUT 120)
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册