diff --git a/cmake/lite.cmake b/cmake/lite.cmake index 590243dc769fcaebb236ce57a88e037ac4f43690..1b45818652b1211da2fb197695dca0ecfbae49be 100644 --- a/cmake/lite.cmake +++ b/cmake/lite.cmake @@ -22,7 +22,7 @@ endfunction() function (lite_deps TARGET) set(options "") set(oneValueArgs "") - set(multiValueArgs DEPS X86_DEPS CUDA_DEPS ARM_DEPS PROFILE_DEPS LIGHT_DEPS HVY_DEPS CL_DEPS FPGA_DEPS BM_DEPS RKNPU_DEPS NPU_DEPS XPU_DEPS MLU_DEPS HUAWEI_ASCEND_NPU_DEPS APU_DEPS CV_DEPS ARGS) + set(multiValueArgs DEPS X86_DEPS CUDA_DEPS ARM_DEPS PROFILE_DEPS LIGHT_DEPS HVY_DEPS CL_DEPS FPGA_DEPS BM_DEPS RKNPU_DEPS NPU_DEPS XPU_DEPS MLU_DEPS HUAWEI_ASCEND_NPU_DEPS NNA_DEPS APU_DEPS CV_DEPS ARGS) cmake_parse_arguments(lite_deps "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) set(deps ${lite_deps_DEPS}) diff --git a/lite/core/context.h b/lite/core/context.h index 1cfdf435a33d320300f461cd9ec8438c1cee195f..8f6910df34ed8e945d596b00fda3aada8e498c8a 100644 --- a/lite/core/context.h +++ b/lite/core/context.h @@ -179,7 +179,7 @@ template <> class Context { public: Context() {} - explicit Context(const NNAContext& ctx); + // explicit Context(const NNAContext& ctx); // NOTE: InitOnce should only be used by ContextScheduler void InitOnce() {} void CopySharedTo(NNAContext* ctx) {}