summaryrefslogtreecommitdiff
path: root/xmake/rules/cuda/devlink/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-09-01 13:30:54 +0800
committerruki <[email protected]>2019-09-01 13:30:54 +0800
commitc389da17f9d6bbe99ea10ef3a997a57967e3bffc (patch)
tree14a6ddadb49ae19d313e51efc705824b02c88bdc /xmake/rules/cuda/devlink/xmake.lua
parent49668a1b7eed1a35d0114ce4ee78c88887a064c8 (diff)
add cuda build rules
Diffstat (limited to 'xmake/rules/cuda/devlink/xmake.lua')
-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 83a719381..90c796370 100644
--- a/xmake/rules/cuda/devlink/xmake.lua
+++ b/xmake/rules/cuda/devlink/xmake.lua
@@ -19,7 +19,7 @@
--
-- define rule: device-link
-rule("cuda.devlink")
+rule("cuda.build.devlink")
-- add rule: cuda environment
add_deps("cuda.env")
@@ -36,7 +36,7 @@ rule("cuda.devlink")
import("core.platform.platform")
-- disable devlink?
- if target:values("cuda.devlink") == false then
+ if target:values("cuda.build.devlink") == false then
return
end