summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{