[Bf-blender-cvs] [2ef2b3e0fd0] master: Cleanup: Remove SSE math optimization i386 macOS builds

Aaron Carlisle noreply at git.blender.org
Wed Nov 11 23:08:53 CET 2020


Commit: 2ef2b3e0fd0080f7d22d91b1026ce0706b66ee52
Author: Aaron Carlisle
Date:   Wed Nov 11 17:08:04 2020 -0500
Branches: master
https://developer.blender.org/rB2ef2b3e0fd0080f7d22d91b1026ce0706b66ee52

Cleanup: Remove SSE math optimization i386 macOS builds

We haven't supported 32bit mac builds for a while so this should be safe to remove.

Reviewed By: #platform_macos, brecht

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

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

M	source/blender/render/CMakeLists.txt

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

diff --git a/source/blender/render/CMakeLists.txt b/source/blender/render/CMakeLists.txt
index 2516c015924..d1f69ddfc02 100644
--- a/source/blender/render/CMakeLists.txt
+++ b/source/blender/render/CMakeLists.txt
@@ -98,13 +98,5 @@ if(WITH_INTERNATIONAL)
   add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-if(APPLE)
-  # SSE math is enabled by default on x86_64
-  if(CMAKE_OSX_ARCHITECTURES MATCHES "i386")
-    string(APPEND CMAKE_C_FLAGS_RELEASE " -mfpmath=sse")
-    string(APPEND CMAKE_CXX_FLAGS_RELEASE " -mfpmath=sse")
-  endif()
-endif()
-
 
 blender_add_lib_nolist(bf_render "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")



More information about the Bf-blender-cvs mailing list