[feel++] 11/122: update package and try to fix powerpc build

Mattia Rizzolo mattia at debian.org
Sun Feb 14 15:29:17 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 220909c3f2e40362b2278b11e47cfbcac0cdd373
Author: Christophe Prudhomme <prudhomm at debian.org>
Date:   Sun Apr 25 15:47:35 2010 +0000

    update package and try to fix powerpc build
---
 debian/patches/mindoc.patch | 21 +++++++++++++++++++++
 debian/patches/series       |  1 +
 debian/rules                | 16 +++++++++++-----
 3 files changed, 33 insertions(+), 5 deletions(-)

diff --git a/debian/patches/mindoc.patch b/debian/patches/mindoc.patch
new file mode 100644
index 0000000..cc95957
--- /dev/null
+++ b/debian/patches/mindoc.patch
@@ -0,0 +1,21 @@
+Index: life-0.9.23/doc/tutorial/CMakeLists.txt
+===================================================================
+--- life-0.9.23.orig/doc/tutorial/CMakeLists.txt	2010-04-23 12:38:03.000000000 +0200
++++ life-0.9.23/doc/tutorial/CMakeLists.txt	2010-04-23 12:39:09.000000000 +0200
+@@ -56,11 +56,12 @@
+  endforeach()
+ endmacro()
+ 
+-foreach( docex myapp mymesh myintegrals laplacian stokes bratu nonlinearpow )
++#foreach( docex myapp mymesh myintegrals laplacian stokes bratu nonlinearpow )
++foreach( docex myapp mymesh myintegrals laplacian  )
+   add_docex( ${docex} )
+ endforeach()
+ 
+ # Natural convection problem
+-include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
+-add_executable( life_doc_convection convection.hpp convection_other.cpp convection_main.cpp convection_run.cpp convection_residual.cpp convection_jacobian.cpp convection_jacobian1.cpp convection_jacobian2.cpp convection_lo.cpp convection_lo2.cpp )
+-target_link_libraries( life_doc_convection ${LIFE_LIBRARIES} )
++#include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
++#add_executable( life_doc_convection convection.hpp convection_other.cpp convection_main.cpp convection_run.cpp convection_residual.cpp convection_jacobian.cpp convection_jacobian1.cpp convection_jacobian2.cpp convection_lo.cpp convection_lo2.cpp )
++#target_link_libraries( life_doc_convection ${LIFE_LIBRARIES} )
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..61e5fd1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+mindoc.patch
diff --git a/debian/rules b/debian/rules
index e5089c3..89aa83c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,14 @@ export CXXFLAGS=
 
 DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
-ifeq "$(DEB_BUILD_ARCH)" "amd64"
+ifeq "$(DEB_BUILD_ARCH)" "powerpc"
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 LIFE_INSTALL_ENABLERS=-DLIFE_ENABLE_ALL=OFF                \
-                       -DENABLE_INSTANTIATION_MODE=1
+                      -DBUILD_TESTING=OFF                  \
+                      -DLIFE_ENABLE_DOCUMENTATION=ON       \
+                      -DENABLE_INSTANTIATION_MODE=OFF
 else
- LIFE_INSTALL_ENABLERS=-DLIFE_ENABLE_ALL=OFF
+LIFE_INSTALL_ENABLERS=-DLIFE_ENABLE_ALL=ON 
 endif
 DEB_CMAKE_EXTRA_FLAGS=                      \
 	-DCMAKE_BUILD_TYPE=Release          \
@@ -22,8 +25,11 @@ DEB_CMAKE_EXTRA_FLAGS=                      \
 	${LIFE_INSTALL_ENABLERS}            \
 	-DTRILINOS_LIB_NOXLAPACK=
 
-build/life-apps::
-	-cd $(DEB_BUILDDIR) && ctest -D Experimental
+#build/life-apps::
+#	-cd $(DEB_BUILDDIR) && ctest -D Experimental
+
+build/liblife::
+	-cd $(DEB_BUILDDIR) && cmake ..
 
 binary-install/life-apps::
 	strip debian/life-apps/usr/bin/*

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