From 369605be1d5933d33d5584d4463ca077a8335c69 Mon Sep 17 00:00:00 2001 From: YUNSHEN XIE <1084314248@qq.com> Date: Tue, 10 Nov 2020 13:15:24 +0800 Subject: [PATCH] fix cmake error when execute build_inference_lib (#28503) --- paddle/fluid/framework/ir/fusion_group/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/ir/fusion_group/CMakeLists.txt b/paddle/fluid/framework/ir/fusion_group/CMakeLists.txt index ab7ccc7f7e8..d6be8fb0717 100644 --- a/paddle/fluid/framework/ir/fusion_group/CMakeLists.txt +++ b/paddle/fluid/framework/ir/fusion_group/CMakeLists.txt @@ -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() -- GitLab