[feel++] 82/122: in Release mode -O2 instead of -O3

Mattia Rizzolo mattia at debian.org
Sun Feb 14 15:29:24 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 46fa40c8c702058957bcb093b71b7e7e48d38c85
Author: Christophe Prudhomme <prudhomm at debian.org>
Date:   Sun Apr 24 12:43:09 2011 +0000

    in Release mode -O2 instead of -O3
---
 debian/rules | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 006c85c..eeb973e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,16 @@ FEEL_INSTALL_ENABLERS=-DFEEL_ENABLE_ALL=OFF                \
                       -DBUILD_TESTING=OFF                  \
                       -DFEEL_MINIMAL_CONFIGURATION=ON
 endif
+ifeq "$(DEB_BUILD_ARCH)" "mips"
+FEEL_INSTALL_ENABLERS=-DFEEL_ENABLE_ALL=OFF                \
+                      -DBUILD_TESTING=OFF                  \
+                      -DFEEL_MINIMAL_CONFIGURATION=ON
+endif
+ifeq "$(DEB_BUILD_ARCH)" "mipsel"
+FEEL_INSTALL_ENABLERS=-DFEEL_ENABLE_ALL=OFF                \
+                      -DBUILD_TESTING=OFF                  \
+                      -DFEEL_MINIMAL_CONFIGURATION=ON
+endif
 
 ifeq "$(DEB_BUILD_ARCH)" "sparc"
 FEEL_MPI=-DMPI_COMPILER=/usr/bin/mpic++.lam \
@@ -47,7 +57,7 @@ FEEL_MPI=
 endif
 DEB_CMAKE_EXTRA_FLAGS=                      \
         -DCMAKE_BUILD_TYPE=Release          \
-	-DCMAKE_CXX_FLAGS="-O2 -std=c++0x -DNDEBUG -g0"  \
+	-DCMAKE_CXX_FLAGS_RELEASE="-O2 -DNDEBUG -g0"  \
 	-DPETSC_ARCH=linux-gnu-c-opt        \
 	-DPETSC_DIR=/usr/lib/petscdir/3.1 \
 	-DPETSC_EXECUTABLE_RUNS=ON          \

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