summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxq114 <[email protected]>2023-02-13 13:51:01 +0800
committerxq114 <[email protected]>2023-02-13 13:51:01 +0800
commitc22d24060f4500f84971d93bbf78bacd5c2d4836 (patch)
tree904d76294f3d60fec72003c109b8485525edc0db
parent4b42528d48d5d062027f2053d3ed75accddb1141 (diff)
revert cuda devlink
-rw-r--r--xmake/rules/cuda/devlink/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/cuda/devlink/xmake.lua b/xmake/rules/cuda/devlink/xmake.lua
index 67c7836eb..da3bf8aef 100644
--- a/xmake/rules/cuda/devlink/xmake.lua
+++ b/xmake/rules/cuda/devlink/xmake.lua
@@ -42,9 +42,9 @@ rule("cuda.build.devlink")
return
end
- -- only for binary/shared on non-windows platforms
+ -- only for binary/shared by default
-- https://github.com/xmake-io/xmake/issues/1976
- if not (devlink == true or target:is_plat("windows") or target:is_binary() or target:is_shared()) then
+ if not (devlink == true or target:is_binary() or target:is_shared()) then
return
end