[med-svn] [itksnap] 01/04: Add patch to properly test for SSE

Gert Wollny gewo at moszumanska.debian.org
Mon Aug 21 14:52:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

gewo pushed a commit to branch master
in repository itksnap.

commit b6c9d5b30850ad866e140322116124234add40d7
Author: Gert Wollny <gewo at debian.org>
Date:   Wed Aug 16 13:06:21 2017 +0000

    Add patch to properly test for SSE
---
 debian/patches/02_check_sse.patch | 12 ++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 13 insertions(+)

diff --git a/debian/patches/02_check_sse.patch b/debian/patches/02_check_sse.patch
new file mode 100644
index 0000000..bbfa0ab
--- /dev/null
+++ b/debian/patches/02_check_sse.patch
@@ -0,0 +1,12 @@
+--- a/Submodules/greedy/src/OneDimensionalInPlaceAccumulateFilter.txx
++++ b/Submodules/greedy/src/OneDimensionalInPlaceAccumulateFilter.txx
+@@ -308,8 +308,7 @@
+ 
+ // ### PY, 05/18/2016: checked again, this SSE code is not causing any differences in float/double
+ //                     processing, safe to keep as is!
+-#define _NCC_SSE_
+-#ifdef _NCC_SSE_
++#ifdef __SSE__
+ 
+ #include <xmmintrin.h>
+ 
diff --git a/debian/patches/series b/debian/patches/series
index bda277d..dd125c0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_add_required_vtklibraries_and_gdcm.patch
 
+02_check_sse.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/itksnap.git



More information about the debian-med-commit mailing list