[feel++] 61/122: fix sse

Mattia Rizzolo mattia at debian.org
Sun Feb 14 15:29:22 UTC 2016


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

mattia pushed a commit to branch master
in repository feel++.

commit 1a5111e04d7d641ebd15ba8ab022f5b59ceff964
Author: Christophe Prudhomme <prudhomm at debian.org>
Date:   Fri Mar 18 10:16:21 2011 +0000

    fix sse
---
 debian/patches/series    |  1 +
 debian/patches/sse.patch | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 1debc99..6c1adf2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+sse.patch
 feelgeo.patch
diff --git a/debian/patches/sse.patch b/debian/patches/sse.patch
new file mode 100644
index 0000000..69b2c39
--- /dev/null
+++ b/debian/patches/sse.patch
@@ -0,0 +1,26 @@
+Index: feel++-0.90.0/CMakeLists.txt
+===================================================================
+--- feel++-0.90.0.orig/CMakeLists.txt	2011-03-18 11:14:54.000000000 +0100
++++ feel++-0.90.0/CMakeLists.txt	2011-03-18 11:15:09.000000000 +0100
+@@ -23,9 +23,9 @@
+ #
+ cmake_minimum_required (VERSION 2.6)
+ 
+-SET(CMAKE_CXX_FLAGS "-std=c++0x  -mssse3" CACHE STRING "Default flags" FORCE)
+-SET(CMAKE_CXX_FLAGS_DEBUG "-std=c++0x -g  -mssse3" CACHE STRING "Debug flags" FORCE)
+-SET(CMAKE_CXX_FLAGS_RELEASE "-std=c++0x -O2  -mssse3 -DNDEBUG" CACHE STRING "Release flags" FORCE)
++SET(CMAKE_CXX_FLAGS "-std=c++0x " CACHE STRING "Default flags" FORCE)
++SET(CMAKE_CXX_FLAGS_DEBUG "-std=c++0x -g " CACHE STRING "Debug flags" FORCE)
++SET(CMAKE_CXX_FLAGS_RELEASE "-std=c++0x -O2  -DNDEBUG" CACHE STRING "Release flags" FORCE)
+ 
+ 
+ LIST(REMOVE_DUPLICATES CMAKE_CXX_FLAGS)
+@@ -131,7 +131,7 @@
+ OPTION(FEEL_BENCHMARK_FLAGS "enable benchmarks flags" OFF)
+ if ( FEEL_BENCHMARK_FLAGS )
+   set(CMAKE_BUILD_TYPE Release )
+-  SET(CMAKE_CXX_FLAGS_RELEASE "-std=c++0x -O3 -mssse3 -DNDEBUG --param max-inline-recursive-depth=32 --param max-gcse-passes=3 --param max-gcse-memory=8000 --param max-inline-insns-single=2000" CACHE STRING "Release flags" FORCE)
++  SET(CMAKE_CXX_FLAGS_RELEASE "-std=c++0x -O3  -DNDEBUG --param max-inline-recursive-depth=32 --param max-gcse-passes=3 --param max-gcse-memory=8000 --param max-inline-insns-single=2000" CACHE STRING "Release flags" FORCE)
+ endif()
+ 
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feel++.git



More information about the debian-science-commits mailing list