提交 445b9c5d 编写于 作者: J jackzhang235

fix: transformer test uses gtest but no WITH_TESTING in cmake file

上级 6617aa8b
...@@ -383,16 +383,19 @@ if(NOT IOS) ...@@ -383,16 +383,19 @@ if(NOT IOS)
FPGA_DEPS ${fpga_kernels} FPGA_DEPS ${fpga_kernels}
X86_DEPS ${x86_kernels} X86_DEPS ${x86_kernels}
CUDA_DEPS ${cuda_kernels}) CUDA_DEPS ${cuda_kernels})
lite_cc_binary(test_transformer SRCS transform_test.cc DEPS paddle_api_full paddle_api_light gflags utils
${ops} ${host_kernels} if (WITH_TESTING)
ARM_DEPS ${arm_kernels} lite_cc_binary(test_transformer SRCS transform_test.cc DEPS paddle_api_full paddle_api_light gflags utils
CV_DEPS paddle_cv_arm ${ops} ${host_kernels}
NPU_DEPS ${npu_kernels} ARM_DEPS ${arm_kernels}
XPU_DEPS ${xpu_kernels} CV_DEPS paddle_cv_arm
CL_DEPS ${opencl_kernels} NPU_DEPS ${npu_kernels}
FPGA_DEPS ${fpga_kernels} XPU_DEPS ${xpu_kernels}
X86_DEPS ${x86_kernels} CL_DEPS ${opencl_kernels}
CUDA_DEPS ${cuda_kernels}) FPGA_DEPS ${fpga_kernels}
X86_DEPS ${x86_kernels}
CUDA_DEPS ${cuda_kernels})
endif()
endif() endif()
#lite_cc_binary(cxx_api_bin SRCS cxx_api_bin.cc #lite_cc_binary(cxx_api_bin SRCS cxx_api_bin.cc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册