diff options
| author | ruki <[email protected]> | 2020-06-30 06:33:29 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-30 06:33:29 +0800 |
| commit | 6bdbba44a3c88dda55e81a4f1b75ab443a6c2636 (patch) | |
| tree | fe68182dcf993e7be0a4f69877762f04965d1f0a | |
| parent | 11cc7c36a44fd8a1a801fbfa6e1c5b9509cddc29 (diff) | |
| parent | 75a654004f7eb2ff4a30c2f1be517825055c7a51 (diff) | |
Merge pull request #875 from OpportunityLiu/patch-1
Fix find_cudadevices in nvidia docker
| -rw-r--r-- | xmake/modules/lib/detect/find_cudadevices.lua | 2 |
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 { |
