diff --git a/paddle/fluid/lite/operators/CMakeLists.txt b/paddle/fluid/lite/operators/CMakeLists.txt index 4190e6037cf8b99a5e175fb3070e36eb89832fed..cfb40eebdb1b7c5fd0dfc806c0de7ebbd8083207 100644 --- a/paddle/fluid/lite/operators/CMakeLists.txt +++ b/paddle/fluid/lite/operators/CMakeLists.txt @@ -14,7 +14,7 @@ cc_library(mean_op_lite SRCS mean_op.cc DEPS ${op_DEPS}) cc_library(fill_constant_op_lite SRCS fill_constant_op.cc DEPS ${op_DEPS}) cc_library(sgd_op_lite SRCS sgd_op.cc DEPS ${op_DEPS}) -cc_library(op_params_lite SRCS op_params.cc DEPS ${tensor_lite} any_lite) +cc_library(op_params_lite SRCS op_params.cc DEPS ${tensor_lite} any_lite framework_proto_lite) set(ops_lite fc_op_lite relu_op_lite diff --git a/paddle/fluid/lite/operators/op_params.h b/paddle/fluid/lite/operators/op_params.h index 77d78b481a734f999bf5c4d8dc91bf7b6840d4f7..d3093c488949a2dbda6b49cfa4457cc266276724 100644 --- a/paddle/fluid/lite/operators/op_params.h +++ b/paddle/fluid/lite/operators/op_params.h @@ -15,6 +15,7 @@ #pragma once #include #include "paddle/fluid/lite/core/compatible_tensor.h" +#include "paddle/fluid/lite/core/framework.pb.h" #include "paddle/fluid/lite/utils/all.h" /* diff --git a/paddle/fluid/lite/tools/build.sh b/paddle/fluid/lite/tools/build.sh index 37a04f901bc6515fea1f06a3fe44d3520decc511..163cb630e73a2a109a9bf989f07cae4af2ce3d8f 100755 --- a/paddle/fluid/lite/tools/build.sh +++ b/paddle/fluid/lite/tools/build.sh @@ -24,7 +24,6 @@ function cmake_arm { -DWITH_TESTING=ON \ -DWITH_MKL=OFF \ -DWITH_MKLDNN=OFF - make cxx_api_lite_bin -j8 } function build {