[Pkg-scicomp-commits] openturns/trunk/debian

Christophe Prud'homme prudhomm at debian.org
Fri Oct 3 09:45:15 UTC 2008


SVN commit 3901 by prudhomm:

-6, try to fix FTBS on hppa, sparc, arm and armel and possibly other failures on amd64 s390

 M  +10 -0     openturns/trunk/debian/changelog  
 M  +18 -4     openturns/trunk/debian/rules  


--- openturns/trunk/debian/changelog #3900:3901
@@ -1,3 +1,13 @@
+openturns (0.12.1-6) unstable; urgency=low
+
+  * debian/rules: Fix FTBS on hppa, sparc, arm, and armel because of
+    __sync_fetch_and_add_4 not being available, the remedy is to use
+    -DBOOST_SP_USE_PTHREADS
+  * debian/rules: add --disable-debug option to configure and set the
+    compiler flags to -g -O2 (no -Wall)
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Fri, 03 Oct 2008 10:55:20 +0200
+
 openturns (0.12.1-5) unstable; urgency=low
 
   * Bug fix: "Should recommend python-rpy", thanks to Jerome Robert
--- openturns/trunk/debian/rules #3900:3901
@@ -7,7 +7,7 @@
 DEB_MAKE_CLEAN_TARGET    := clean
 DEB_COMPRESS_EXCLUDE     := .pdf .svn
 
-DEB_CONFIGURE_EXTRA_FLAGS := --enable-lib --enable-python --enable-gui --enable-doc  \
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-lib --enable-python --enable-gui --enable-doc  --disable-debug \
   --host=$(DEB_HOST_GNU_TYPE)      \
   --build=$(DEB_BUILD_GNU_TYPE)    \
   --prefix=/usr                    \
@@ -19,11 +19,25 @@
 #export CC=gcc-4.2
 #export CFLAGS= -O3 -I/usr/include/opencascade
 #export CXXFLAGS= -O3 -I/usr/include/opencascade
-export CFLAGS= -O2
-export CXXFLAGS= -O2
+export CFLAGS= -g -O2
+export CXXFLAGS= -g -O2
+
 export CPPFLAGS= 
-export FFLAGS= -O2
+ifeq ($(shell dpkg --print-architecture),hppa)
+CPPFLAGS += -DBOOST_SP_USE_PTHREADS
+endif
+ifeq ($(shell dpkg --print-architecture),arm)
+CPPFLAGS += -DBOOST_SP_USE_PTHREADS
+endif
+ifeq ($(shell dpkg --print-architecture),armel)
+CPPFLAGS += -DBOOST_SP_USE_PTHREADS
+endif
+ifeq ($(shell dpkg --print-architecture),sparc)
+CPPFLAGS += -DBOOST_SP_USE_PTHREADS
+endif
 
+export FFLAGS= -g -O2
+
 # see include /usr/share/R/debian/r-cran.mk
 debRlib := $(CURDIR)/debian/python-openturns/usr/lib/R/site-library
 



More information about the Pkg-scicomp-commits mailing list