Commit 87ce955b authored by Rashad Kanavath's avatar Rashad Kanavath

SuperBuild: remove itk sse flag patch

parent ee043e0b
......@@ -126,18 +126,13 @@ if (WIN32)
list(APPEND ITK_SB_CONFIG
-DUSE_FFTWF:BOOL=OFF
-DUSE_FFTWD:BOOL=OFF
-DITK_USE_SSE_FLAGS:BOOL=OFF
-DVNL_CONFIG_ENABLE_SSE2:BOOL=OFF
-DVNL_CONFIG_ENABLE_SSE2_ROUNDING:BOOL=OFF
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS:BOOL=ON
)
endif()
else()
list(APPEND ITK_SB_CONFIG
-DUSE_FFTWF:BOOL=ON
-DUSE_FFTWD:BOOL=ON
-DUSE_SYSTEM_FFTW:BOOL=ON
-DITK_USE_SSE_FLAGS:BOOL=ON
)
ADD_SUPERBUILD_CMAKE_VAR(ITK FFTW_INCLUDE_PATH)
endif()
......
diff -burN InsightToolkit-4.12.0.orig/CMakeLists.txt InsightToolkit-4.12.0/CMakeLists.txt
--- InsightToolkit-4.12.0.orig/CMakeLists.txt 2017-08-22 11:53:54.920931663 +0200
+++ InsightToolkit-4.12.0/CMakeLists.txt 2017-08-25 17:45:01.603901798 +0200
@@ -146,6 +146,9 @@
option(ITK_DYNAMIC_LOADING "Support run-time loading of shared libraries" ON)
mark_as_advanced(ITK_DYNAMIC_LOADING)
+option(ITK_USE_SSE_FLAGS "Enable SIMD optimization flags (hardware dependant)." ON)
+mark_as_advanced(ITK_USE_SSE_FLAGS)
+
#-----------------------------------------------------------------------------
# Wrapping options
option(ITK_WRAP_PYTHON "Build Python support" OFF)
diff -burN InsightToolkit-4.12.0.orig/Modules/Core/Common/CMakeLists.txt InsightToolkit-4.12.0/Modules/Core/Common/CMakeLists.txt
--- InsightToolkit-4.12.0.orig/Modules/Core/Common/CMakeLists.txt 2017-08-22 11:53:56.200940262 +0200
+++ InsightToolkit-4.12.0/Modules/Core/Common/CMakeLists.txt 2017-08-25 17:45:30.636094558 +0200
@@ -42,8 +42,9 @@
# Check if this platform support the sse2 rounding functions for 32 and 64 bits
-include(CheckSupportForSSERounding)
-
+if(ITK_USE_SSE_FLAGS)
+ include(CheckSupportForSSERounding)
+endif()
# Test for atomics and other compiler intrinsics
include(itkCheckBuiltins)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment