Michael R. Crusoe pushed to branch master at Debian Med / hhsuite

Commits:
d46775c0 by Michael R. Crusoe at 2019-02-15T15:08:46Z
Don't build with -march=native

- - - - -


2 changed files:

- debian/changelog
- debian/patches/disable-AVX-SSE.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,7 +1,13 @@
-hhsuite (3.0~beta3+dfsg-3) UNRELEASED; urgency=medium
+hhsuite (3.0~beta3+dfsg-3) UNRELEASED; urgency=high
 
+  * Team upload
+
+  [ Andreas Tille ]
   * Build against ffindex (>= 0.9.9.8)
 
+  [ Michael R. Crusoe ]
+  * Don't build iwht -march=native
+
  -- Andreas Tille <ti...@debian.org>  Fri, 11 Jan 2019 13:05:23 +0100
 
 hhsuite (3.0~beta3+dfsg-2) unstable; urgency=medium


=====================================
debian/patches/disable-AVX-SSE.patch
=====================================
@@ -1,10 +1,8 @@
 Description: do not use AVX to build binaries 
 Author: Sascha Steinbiss <sa...@debian.org>
-Index: hhsuite/src/CMakeLists.txt
-===================================================================
 --- hhsuite.orig/src/CMakeLists.txt
 +++ hhsuite/src/CMakeLists.txt
-@@ -12,22 +12,22 @@ endif()
+@@ -12,22 +12,22 @@
  if(X86 OR X86_64)
  
  #SSE
@@ -35,11 +33,24 @@ Index: hhsuite/src/CMakeLists.txt
  endif()
  
  else() #
-Index: hhsuite/cmake/CheckSSEFeatures.cmake
-===================================================================
 --- hhsuite.orig/cmake/CheckSSEFeatures.cmake
 +++ hhsuite/cmake/CheckSSEFeatures.cmake
-@@ -209,23 +209,23 @@ macro(PCL_CHECK_FOR_SSE)
+@@ -14,10 +14,10 @@
+     if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
+         execute_process(COMMAND ${CMAKE_CXX_COMPILER} "-dumpversion"
+                         OUTPUT_VARIABLE GCC_VERSION_STRING)
+-        if(GCC_VERSION_STRING VERSION_GREATER 4.2 AND NOT APPLE AND NOT 
CMAKE_CROSSCOMPILING)
+-            SET(SSE_FLAGS "${SSE_FLAGS} -march=native")
+-            message(STATUS "Using CPU native flags for SSE optimization: 
${SSE_FLAGS}")
+-        endif()
++      # if(GCC_VERSION_STRING VERSION_GREATER 4.2 AND NOT APPLE AND NOT 
CMAKE_CROSSCOMPILING)
++        #     SET(SSE_FLAGS "${SSE_FLAGS} -march=native")
++        #     message(STATUS "Using CPU native flags for SSE optimization: 
${SSE_FLAGS}")
++        # endif()
+     endif()
+ 
+     # Unfortunately we need to check for SSE to enable "-mfpmath=sse" 
alongside 
+@@ -209,23 +209,23 @@
      set(CMAKE_REQUIRED_FLAGS)
  
      if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR 
CMAKE_COMPILER_IS_CLANG)



View it on GitLab: 
https://salsa.debian.org/med-team/hhsuite/commit/d46775c038b7fecc432b5d38886ad590353d9418

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/hhsuite/commit/d46775c038b7fecc432b5d38886ad590353d9418
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
debian-med-com...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to