From 2e91033136bfe36db852f26a738ea4232db3389a Mon Sep 17 00:00:00 2001 From: Zhen Wang Date: Thu, 27 Jun 2019 16:55:56 +0800 Subject: [PATCH] fix opencl compile bugs. --- paddle/fluid/lite/arm/math/CMakeLists.txt | 8 ++++---- paddle/fluid/lite/model_parser/CMakeLists.txt | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/paddle/fluid/lite/arm/math/CMakeLists.txt b/paddle/fluid/lite/arm/math/CMakeLists.txt index 4663f58516..1294bddb74 100644 --- a/paddle/fluid/lite/arm/math/CMakeLists.txt +++ b/paddle/fluid/lite/arm/math/CMakeLists.txt @@ -7,10 +7,10 @@ if(NOT (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM)) endif() # TODO(xxx): seperate them -lite_cc_library(math_arm SRCS - funcs.cc - packed_sgemm.cc - softmax.cc +lite_cc_library(math_arm SRCS + funcs.cc + packed_sgemm.cc + softmax.cc scale.cc pooling.cc elementwise.cc diff --git a/paddle/fluid/lite/model_parser/CMakeLists.txt b/paddle/fluid/lite/model_parser/CMakeLists.txt index eff15ab3b0..a681f889bf 100644 --- a/paddle/fluid/lite/model_parser/CMakeLists.txt +++ b/paddle/fluid/lite/model_parser/CMakeLists.txt @@ -10,7 +10,6 @@ if(NOT LITE_ON_MOBILE) endif(WITH_TESTING) endif() - lite_cc_library(compatible_pb_lite SRCS compatible_pb.cc DEPS op_desc_lite framework_proto_lite var_desc_lite cpp_op_desc_lite) -- GitLab