From 75f34bb7f3959ccc2b0e5f2be440f29aeedb700e Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Mon, 7 Nov 2022 17:07:58 +0800 Subject: [PATCH] fix nlu compilation (#47707) --- paddle/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paddle/CMakeLists.txt b/paddle/CMakeLists.txt index 937b58130d5..b39f720f410 100644 --- a/paddle/CMakeLists.txt +++ b/paddle/CMakeLists.txt @@ -75,6 +75,9 @@ if(${len} GREATER_EQUAL 1) if(WITH_XPU) target_link_libraries(${test_name} xpulib) endif() + if(WITH_MLU) + target_link_libraries(${test_name} neuware_lib) + endif() if(NOT ("${test_name}" STREQUAL "c_broadcast_op_npu_test" OR "${test_name}" STREQUAL "c_allreduce_sum_op_npu_test" -- GitLab