From 6a7a198d6b8a9bddea96d9e9720fc1a424f25a76 Mon Sep 17 00:00:00 2001 From: wooway777 Date: Fri, 12 Jun 2026 16:52:16 +0800 Subject: [PATCH] issue/1262 - optimize ascend compilation --- xmake/ascend.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmake/ascend.lua b/xmake/ascend.lua index e51626d1d..6179cac13 100644 --- a/xmake/ascend.lua +++ b/xmake/ascend.lua @@ -23,7 +23,8 @@ rule("ascend-kernels") before_link(function () local ascend_build_dir = path.join(os.projectdir(), "src/infiniop/devices/ascend") os.cd(ascend_build_dir) - os.exec("make") + os.rm("build") + os.exec("make build") os.cp("$(projectdir)/src/infiniop/devices/ascend/build/lib/libascend_kernels.a", builddir.."/") os.cd(os.projectdir())