[Bf-blender-cvs] [1842947] master: patch by liblib (lid b)

Martijn Berger noreply at git.blender.org
Mon Jan 27 11:43:31 CET 2014


Commit: 184294782e16dd7ed2bfdef064fc9c4351fe5507
Author: Martijn Berger
Date:   Mon Jan 27 11:42:38 2014 +0100
https://developer.blender.org/rB184294782e16dd7ed2bfdef064fc9c4351fe5507

patch by liblib (lid b)

Default installation path of cuda nvcc.exe contain spaces

Reviewers: juicyfruit

Differential Revision: https://developer.blender.org/D239

===================================================================

M	intern/cycles/kernel/SConscript

===================================================================

diff --git a/intern/cycles/kernel/SConscript b/intern/cycles/kernel/SConscript
index 88d8bb1..5077d8c 100644
--- a/intern/cycles/kernel/SConscript
+++ b/intern/cycles/kernel/SConscript
@@ -96,7 +96,7 @@ if env['WITH_BF_CYCLES_CUDA_BINARIES']:
 
         if env['BF_CYCLES_CUDA_ENV']:
             MS_SDK = "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Bin\\SetEnv.cmd"
-            command = "\"%s\" & %s -arch=%s %s %s \"%s\" -o \"%s\"" % (MS_SDK, nvcc, arch, nvcc_flags, cuda_arch_flags, kernel_file, cubin_file)
+            command = "\"%s\" & \"%s\" -arch=%s %s %s \"%s\" -o \"%s\"" % (MS_SDK, nvcc, arch, nvcc_flags, cuda_arch_flags, kernel_file, cubin_file)
         else:
             command = "\"%s\" -arch=%s %s %s \"%s\" -o \"%s\"" % (nvcc, arch, nvcc_flags, cuda_arch_flags, kernel_file, cubin_file)




More information about the Bf-blender-cvs mailing list