summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-13 14:34:32 +0800
committerGitHub <[email protected]>2023-02-13 14:34:32 +0800
commit33de9d524b7fcd1b6a66035d9c3f8a48ee200406 (patch)
tree904d76294f3d60fec72003c109b8485525edc0db
parent4b42528d48d5d062027f2053d3ed75accddb1141 (diff)
parentc22d24060f4500f84971d93bbf78bacd5c2d4836 (diff)
Merge pull request #3360 from xq114/dev
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