From defd562c26bb52292a1cfd9ed12fe39cf4d1b66e Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Wed, 29 May 2019 15:25:52 +0800 Subject: [PATCH] [lite] fix arm deps (#17716) --- paddle/fluid/lite/arm/math/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paddle/fluid/lite/arm/math/CMakeLists.txt b/paddle/fluid/lite/arm/math/CMakeLists.txt index 8f29f6542d4..0418ebc9dca 100644 --- a/paddle/fluid/lite/arm/math/CMakeLists.txt +++ b/paddle/fluid/lite/arm/math/CMakeLists.txt @@ -1,2 +1,6 @@ +if(NOT (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM)) + return() +endif() + cc_library(math_arm SRCS funcs.cc packed_sgemm.cc softmax.cc DEPS ${lite_kernel_deps} eigen3) -- GitLab