[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31068] trunk/blender/build_files/make/ nan_definitions.mk: Makefile fix: on PowerPC architecture SSE compile should not happen.

Ton Roosendaal ton at blender.org
Thu Aug 5 16:04:56 CEST 2010


Revision: 31068
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31068
Author:   ton
Date:     2010-08-05 16:04:56 +0200 (Thu, 05 Aug 2010)

Log Message:
-----------
Makefile fix: on PowerPC architecture SSE compile should not happen.
Note for the coder here, is it correct to enable SSE with a general
WITH_BF_RAYOPTIMIZATION flag? Just call it WITH_SSE? More clear :)

Modified Paths:
--------------
    trunk/blender/build_files/make/nan_definitions.mk

Modified: trunk/blender/build_files/make/nan_definitions.mk
===================================================================
--- trunk/blender/build_files/make/nan_definitions.mk	2010-08-05 14:03:30 UTC (rev 31067)
+++ trunk/blender/build_files/make/nan_definitions.mk	2010-08-05 14:04:56 UTC (rev 31068)
@@ -161,7 +161,11 @@
   export WITH_TIFF ?= true
 
   #enable raytracing optimization (currently only for i386 and x86_64)
-  export WITH_BF_RAYOPTIMIZATION ?= true
+  ifeq ($(CPU),powerpc)
+    export WITH_BF_RAYOPTIMIZATION ?= false
+  else
+    export WITH_BF_RAYOPTIMIZATION ?= true
+  endif
 
   export WITH_LCMS ?= false
   export WITH_CINEON ?= true





More information about the Bf-blender-cvs mailing list