Skip to content

Commit 369605b

Browse files
authored
fix cmake error when execute build_inference_lib (#28503)
1 parent 241505c commit 369605b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/framework/ir/fusion_group/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ cc_library(fusion_group_pass
99
SRCS fusion_group_pass.cc elementwise_group_detector.cc
1010
DEPS subgraph_detector fuse_pass_base code_generator device_code)
1111
cc_test(test_fusion_group_pass SRCS fusion_group_pass_tester.cc DEPS fusion_group_pass graph_viz_pass)
12-
if(WITH_GPU AND NOT ON_INFER)
12+
if(WITH_TESTING)
1313
set_tests_properties(test_code_generator PROPERTIES TIMEOUT 120)
1414
endif()

0 commit comments

Comments
 (0)