CMakeLists.txt 544 字节
Newer Older
Y
Yan Chunwei 已提交
1 2 3 4 5
# To make sure the test framework is only actived in TESTING mode.
if(NOT WITH_TESTING)
    return()
endif()

6
lite_cc_library(arena_framework SRCS framework.cc DEPS program gtest)
Y
Yan Chunwei 已提交
7

8
if((NOT LITE_WITH_OPENCL) AND (LITE_WITH_X86 OR LITE_WITH_ARM))
9
  lite_cc_test(test_arena_framework SRCS framework_test.cc DEPS arena_framework ${rknpu_kernels} ${mlu_kernels} ${bm_kernels} ${npu_kernels} ${apu_kernels} ${huawei_ascend_npu_kernels} ${xpu_kernels} ${x86_kernels} ${cuda_kernels} ${fpga_kernels} ${arm_kernels} ${lite_ops} ${host_kernels})
Y
Yan Chunwei 已提交
10
endif()