fix cmake error when execute build_inference_lib (#28503)

TCChenlong-patch-1
YUNSHEN XIE 4 years ago committed by GitHub
parent 241505c262
commit 369605be1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save