Revision: 50104
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50104
Author:   psy-fi
Date:     2012-08-22 00:06:09 +0000 (Wed, 22 Aug 2012)
Log Message:
-----------
Turn OpenMP off for MinGW64. I thought it behaved correctly in new compiler 
builds but unfortunately it looks like there is some issue still which mostly 
shows when openmp threads stop. This causes crashes after rendering with 
subsurf, multires, when calculating fluids and possibly when other 
functionality is used as well.

This should make MinGW64 builds quite stable again :)

Modified Paths:
--------------
    trunk/blender/CMakeLists.txt
    trunk/blender/build_files/scons/config/win64-mingw-config.py

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt        2012-08-21 21:42:42 UTC (rev 50103)
+++ trunk/blender/CMakeLists.txt        2012-08-22 00:06:09 UTC (rev 50104)
@@ -1043,6 +1043,8 @@
                        set(PLATFORM_LINKLIBS "${PLATFORM_LINKLIBS} -lpthread")
                        
                        add_definitions(-DFREE_WINDOWS64 -DMS_WIN64)
+                       #Turn off OpenMP since it causes crashes on render for 
subsurfed/multiresolution meshes
+                       set(WITH_OPENMP OFF)
                endif()
 
                add_definitions(-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE)

Modified: trunk/blender/build_files/scons/config/win64-mingw-config.py
===================================================================
--- trunk/blender/build_files/scons/config/win64-mingw-config.py        
2012-08-21 21:42:42 UTC (rev 50103)
+++ trunk/blender/build_files/scons/config/win64-mingw-config.py        
2012-08-22 00:06:09 UTC (rev 50104)
@@ -170,7 +170,7 @@
 BF_RAYOPTIMIZATION_SSE_FLAGS = ['-mmmx', '-msse', '-msse2']
 
 #May produce errors with unsupported MinGW-w64 builds
-WITH_BF_OPENMP = True
+WITH_BF_OPENMP = False
 
 ##
 CC = 'gcc'

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to