From c22d24060f4500f84971d93bbf78bacd5c2d4836 Mon Sep 17 00:00:00 2001 From: xq114 <1140735506@qq.com> Date: Mon, 13 Feb 2023 13:51:01 +0800 Subject: revert cuda devlink --- xmake/rules/cuda/devlink/xmake.lua | 4 ++-- 1 file 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 -- cgit v1.3.1