未验证 提交 e2c1630a 编写于 作者: Y Yan Chunwei 提交者: GitHub

fix compile (#17722)

上级 defd562c
...@@ -14,7 +14,7 @@ cc_library(mean_op_lite SRCS mean_op.cc DEPS ${op_DEPS}) ...@@ -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(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(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 set(ops_lite
fc_op_lite fc_op_lite
relu_op_lite relu_op_lite
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#pragma once #pragma once
#include <vector> #include <vector>
#include "paddle/fluid/lite/core/compatible_tensor.h" #include "paddle/fluid/lite/core/compatible_tensor.h"
#include "paddle/fluid/lite/core/framework.pb.h"
#include "paddle/fluid/lite/utils/all.h" #include "paddle/fluid/lite/utils/all.h"
/* /*
......
...@@ -24,7 +24,6 @@ function cmake_arm { ...@@ -24,7 +24,6 @@ function cmake_arm {
-DWITH_TESTING=ON \ -DWITH_TESTING=ON \
-DWITH_MKL=OFF \ -DWITH_MKL=OFF \
-DWITH_MKLDNN=OFF -DWITH_MKLDNN=OFF
make cxx_api_lite_bin -j8
} }
function build { function build {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册