提交 79a03c2b 编写于 作者: X Xiaoyang LI 提交者: Yan Chunwei

fix math dependencies error (#2023)

上级 2f3d7fd6
......@@ -12,6 +12,7 @@ message(STATUS "LITE_WITH_PROFILE:\t${LITE_WITH_PROFILE}")
set(LITE_MODEL_DIR "${THIRD_PARTY_PATH}/install")
set(LITE_ON_MOBILE ${LITE_WITH_LIGHT_WEIGHT_FRAMEWORK})
add_subdirectory(backends)
add_subdirectory(utils)
add_subdirectory(operators)
add_subdirectory(kernels)
......@@ -19,7 +20,6 @@ add_subdirectory(core)
add_subdirectory(model_parser)
add_subdirectory(api)
add_subdirectory(fluid)
add_subdirectory(backends)
if (NOT LITE_ON_TINY_PUBLISH)
add_subdirectory(tests)
......
add_subdirectory(opencl)
add_subdirectory(arm)
add_subdirectory(x86)
add_subdirectory(cuda)
add_subdirectory(fpga)
add_subdirectory(host)
add_subdirectory(opencl)
add_subdirectory(npu)
......@@ -104,8 +104,8 @@ if (NOT HAS_ARM_MATH_LIB_DIR)
slice.cc
reduce_mean.cc
stack.cc
affine_channel.cc
anchor_generator.cc
DEPS ${lite_kernel_deps})
affine_channel.cc
anchor_generator.cc
DEPS ${lite_kernel_deps} context tensor)
endif()
......@@ -3,7 +3,7 @@ if(NOT WITH_TESTING)
return()
endif()
lite_cc_library(arena_framework SRCS framework.cc DEPS program)
lite_cc_library(arena_framework SRCS framework.cc DEPS program gtest)
if(NOT LITE_WITH_OPENCL AND (LITE_WITH_X86 OR LITE_WITH_ARM))
lite_cc_test(test_arena_framework SRCS framework_test.cc DEPS arena_framework ${x86_kernels} ${fpga_kernels} ${arm_kernels} ${lite_ops} ${host_kernels})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册