summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2020-06-30 01:08:23 +0800
committerGitHub <[email protected]>2020-06-30 01:08:23 +0800
commit75a654004f7eb2ff4a30c2f1be517825055c7a51 (patch)
treefe68182dcf993e7be0a4f69877762f04965d1f0a
parent11cc7c36a44fd8a1a801fbfa6e1c5b9509cddc29 (diff)
Update find_cudadevices.lua
-rw-r--r--xmake/modules/lib/detect/find_cudadevices.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/find_cudadevices.lua b/xmake/modules/lib/detect/find_cudadevices.lua
index e36e633b2..bd1bb72bc 100644
--- a/xmake/modules/lib/detect/find_cudadevices.lua
+++ b/xmake/modules/lib/detect/find_cudadevices.lua
@@ -125,7 +125,7 @@ function _find_devices(verbose)
-- get cuda devices
local sourcefile = path.join(os.programdir(), "scripts", "find_cudadevices.cpp")
- local outfile = os.tmpfile()
+ local outfile = os.tmpfile({ramdisk = false}) -- no execution permision in docker's /shm
local compile_errors = nil
local results, errors = try
{