未验证 提交 75f34bb7 编写于 作者: L Leo Chen 提交者: GitHub

fix nlu compilation (#47707)

上级 5f0a8adc
...@@ -75,6 +75,9 @@ if(${len} GREATER_EQUAL 1) ...@@ -75,6 +75,9 @@ if(${len} GREATER_EQUAL 1)
if(WITH_XPU) if(WITH_XPU)
target_link_libraries(${test_name} xpulib) target_link_libraries(${test_name} xpulib)
endif() endif()
if(WITH_MLU)
target_link_libraries(${test_name} neuware_lib)
endif()
if(NOT if(NOT
("${test_name}" STREQUAL "c_broadcast_op_npu_test" ("${test_name}" STREQUAL "c_broadcast_op_npu_test"
OR "${test_name}" STREQUAL "c_allreduce_sum_op_npu_test" OR "${test_name}" STREQUAL "c_allreduce_sum_op_npu_test"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册