[Bf-blender-cvs] [b8fc4fe] master: Cycles: Correction to previous SSE/AVX flags detection
Sergey Sharybin
noreply at git.blender.org
Wed Dec 31 21:32:58 CET 2014
Commit: b8fc4fe5aa542064c44db3476c8d8911bf674f01
Author: Sergey Sharybin
Date: Mon Dec 15 03:51:43 2014 +0500
Branches: master
https://developer.blender.org/rBb8fc4fe5aa542064c44db3476c8d8911bf674f01
Cycles: Correction to previous SSE/AVX flags detection
Ensure AVX/AVX2 is not used when Cycles is configured with
WITH_CPU_SSE set to OFF.
===================================================================
M intern/cycles/CMakeLists.txt
===================================================================
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
index a776748..4facb8d 100644
--- a/intern/cycles/CMakeLists.txt
+++ b/intern/cycles/CMakeLists.txt
@@ -16,6 +16,8 @@ include(cmake/external_libs.cmake)
if(NOT WITH_CPU_SSE)
set(CXX_HAS_SSE FALSE)
+ set(CXX_HAS_AVX FALSE)
+ set(CXX_HAS_AVX2 FALSE)
elseif(WIN32 AND MSVC)
set(CXX_HAS_SSE TRUE)
set(CXX_HAS_AVX TRUE)
More information about the Bf-blender-cvs
mailing list