summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/nvcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-20 23:05:19 +0800
committerGitHub <[email protected]>2022-05-20 23:05:19 +0800
commit6cf488d207c3009aba6319759a2cc2fb6aa7a405 (patch)
treec61583cf363192611d4f0be291b9e1fbe8afd2ab /xmake/modules/core/tools/nvcc.lua
parentc6218b9b4cd17babf15fa46dbc65e895ace3e7d7 (diff)
parentd63ce0e016b58d03519f957d7ac9f36494c73486 (diff)
Merge pull request #2361 from xmake-io/buildcache
Add build cache instead of ccache
Diffstat (limited to 'xmake/modules/core/tools/nvcc.lua')
-rw-r--r--xmake/modules/core/tools/nvcc.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua
index 254710ab3..ac4a6efef 100644
--- a/xmake/modules/core/tools/nvcc.lua
+++ b/xmake/modules/core/tools/nvcc.lua
@@ -25,7 +25,6 @@ import("core.project.config")
import("core.project.project")
import("core.platform.platform")
import("core.language.language")
-import("private.tools.ccache")
import("utils.progress")
-- init it
@@ -328,7 +327,7 @@ end
-- make the compile arguments list
function compargv(self, sourcefile, objectfile, flags)
- return ccache.cmdargv(self:program(), table.join("-c", flags, "-o", objectfile, sourcefile))
+ return self:program(), table.join("-c", flags, "-o", objectfile, sourcefile)
end
-- compile the source file