From a1a527fb88db861990cdd8fb107a889d83f947dd Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 22 Apr 2021 18:56:04 +0800 Subject: [PATCH] [NPU] remove ascend_parser for WITH_ASCEND_CL (#32451) --- paddle/fluid/pybind/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/pybind/CMakeLists.txt b/paddle/fluid/pybind/CMakeLists.txt index 8ad4dc1db94..b30214e1d83 100644 --- a/paddle/fluid/pybind/CMakeLists.txt +++ b/paddle/fluid/pybind/CMakeLists.txt @@ -58,7 +58,7 @@ set(PYBIND_SRCS compatible.cc generator_py.cc) -if(WITH_ASCEND OR WITH_ASCEND_CL) +if(WITH_ASCEND) set(PYBIND_DEPS ${PYBIND_DEPS} ascend_wrapper) set(PYBIND_SRCS ${PYBIND_SRCS} ascend_wrapper_py.cc) endif() -- GitLab