From 34651779b54acfa55e5cfbe1f52e2d337bbc7531 Mon Sep 17 00:00:00 2001 From: superjomn Date: Wed, 12 Jun 2019 07:08:52 +0000 Subject: [PATCH] up --- paddle/fluid/lite/core/CMakeLists.txt | 2 +- paddle/fluid/lite/tools/build.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/lite/core/CMakeLists.txt b/paddle/fluid/lite/core/CMakeLists.txt index e5aef8d84..380c92bf4 100644 --- a/paddle/fluid/lite/core/CMakeLists.txt +++ b/paddle/fluid/lite/core/CMakeLists.txt @@ -24,7 +24,7 @@ cc_library(variable_lite SRCS variable.cc) cc_library(op_registry_lite SRCS op_registry.cc DEPS framework_proto_lite) cc_library(scope_lite SRCS scope.cc DEPS ${tensor_lite}) cc_library(cpu_info_lite SRCS cpu_info.cc) -cc_library(context_lite SRCS context.cc DEPS ${tensor_lite} any_lite cpu_info_lite) +lite_cc_library(context_lite SRCS context.cc DEPS ${tensor_lite} any_lite cpu_info_lite eigen3) cc_library(op_lite SRCS op_lite.cc DEPS scope_lite op_registry_lite target_wrapper_lite cpp_op_desc_lite ${tensor_lite}) cc_library(types_lite SRCS types.cc) diff --git a/paddle/fluid/lite/tools/build.sh b/paddle/fluid/lite/tools/build.sh index e8fabfc70..d0a0df7f8 100755 --- a/paddle/fluid/lite/tools/build.sh +++ b/paddle/fluid/lite/tools/build.sh @@ -58,7 +58,8 @@ function cmake_arm { function build { file=$1 for _test in $(cat $file); do - make $_test -j$(expr $(nproc) - 2) + #make $_test -j$(expr $(nproc) - 2) + make $_test -j8 done } -- GitLab