Skip to content

Commit e7a1b12

Browse files
authored
Merge pull request #1054 from InfiniTensor/issue/1033c
issue/1033 - fix xmake.lua for fa target
2 parents dce9986 + 74b05cd commit e7a1b12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ target("infinicore_cpp_api")
462462
add_linkdirs(INFINI_ROOT.."/lib")
463463
add_links("infiniop", "infinirt", "infiniccl")
464464

465-
if get_config("flash-attn") ~= nil then
465+
if get_config("flash-attn") == true then
466466
add_installfiles("(builddir)/$(plat)/$(arch)/$(mode)/flash-attn*.so", {prefixdir = "lib"})
467467
if has_config("nv-gpu") then
468468
add_deps("flash-attn-nvidia")

0 commit comments

Comments
 (0)