[Bf-blender-cvs] [8cd88e3] master: Fix T39757: missing cuda libary on linx, now also try to find libcuda.so.1.
Brecht Van Lommel
noreply at git.blender.org
Sat May 17 15:32:34 CEST 2014
Commit: 8cd88e3bd0e6751ba9d76246bff454a29ace2c41
Author: Brecht Van Lommel
Date: Sat May 17 15:31:47 2014 +0200
https://developer.blender.org/rB8cd88e3bd0e6751ba9d76246bff454a29ace2c41
Fix T39757: missing cuda libary on linx, now also try to find libcuda.so.1.
I'm not sure this should be needed, but some particular systems don't have
libcuda.so so we do this now.
===================================================================
M intern/cycles/util/util_cuda.cpp
===================================================================
diff --git a/intern/cycles/util/util_cuda.cpp b/intern/cycles/util/util_cuda.cpp
index e6510bf..9404f45 100644
--- a/intern/cycles/util/util_cuda.cpp
+++ b/intern/cycles/util/util_cuda.cpp
@@ -194,7 +194,7 @@ bool cuLibraryInit()
DynamicLibrary *lib = dynamic_library_open(path);
if(lib == NULL && alternative_path)
- lib = dynamic_library_open(path);
+ lib = dynamic_library_open(alternative_path);
if(lib == NULL)
return false;
More information about the Bf-blender-cvs
mailing list