diff --git a/paddle/fluid/lite/core/CMakeLists.txt b/paddle/fluid/lite/core/CMakeLists.txt index e5aef8d84fac3a458ac7f26924283c3e861be6fc..380c92bf45a38ec5871d23a84cc80d4662531a9a 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 e8fabfc705798df9cf9d9ccb59aaf8de9fe3f34f..d0a0df7f8c1ed7cc49230e3656d172ab318db43c 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 }