[feel++] 19/122: try out with -O2 instead of -O3

Mattia Rizzolo mattia at debian.org
Sun Feb 14 15:29:18 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 61e38b02f7408d442285d28e15cde667ee1a10a9
Author: Christophe Prudhomme <prudhomm at debian.org>
Date:   Sat Jun 5 09:14:22 2010 +0000

    try out with -O2 instead of -O3
---
 debian/changelog | 8 ++++++++
 debian/rules     | 4 +++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3107885..a9fee8a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+life (0.9.24-4) unstable; urgency=low
+
+  [Christophe Prud'homme]
+  * debian/rules: compile with -O2 instead of -O3 to reduce compilation
+    cost on some arch
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Sat, 05 Jun 2010 11:11:25 +0200
+
 life (0.9.24-3) unstable; urgency=low
 
   [Christophe Prud'homme]
diff --git a/debian/rules b/debian/rules
index ce96ebc..3180ab5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,9 +15,11 @@ LIFE_INSTALL_ENABLERS=-DLIFE_ENABLE_ALL=OFF                \
                       -DLIFE_MINIMAL_CONFIGURATION=ON      \
                       -DENABLE_INSTANTIATION_MODE=OFF
 else
-LIFE_INSTALL_ENABLERS=-DLIFE_ENABLE_ALL=ON 
+LIFE_INSTALL_ENABLERS=-DLIFE_ENABLE_ALL=ON
 endif
 DEB_CMAKE_EXTRA_FLAGS=                      \
+        -DCMAKE_CXX_FLAGS_RELEASE="-std=c++0x -O2 -DNDEBUG"\
+        -DCMAKE_C_FLAGS_RELEASE="-std=c++0x -O2 -DNDEBUG"\
         -DCMAKE_BUILD_TYPE=Release          \
 	-DPETSC_ARCH=linux-gnu-c-opt        \
 	-DPETSC_DIR=/usr/lib/petscdir/3.0.0 \

-- 
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