[feel++] 24/122: try to force default mpi implementation on sparc

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 143a99c1a1d9673e082e223aacc167db758328cd
Author: Christophe Prudhomme <prudhomm at debian.org>
Date:   Mon Jun 7 07:15:34 2010 +0000

    try to force default mpi implementation on sparc
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index ea9b9fe..6550dd2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,11 +19,18 @@ LIFE_INSTALL_ENABLERS=-DLIFE_ENABLE_ALL=OFF                \
 else
 LIFE_INSTALL_ENABLERS=-DLIFE_ENABLE_ALL=ON
 endif
+ifeq "$(DEB_BUILD_ARCH)" "sparc"
+LIFE_MPI=-DMPI_COMPILER=mpicxx \
+         -DMPI_LIBRARY="MPI_LIBRARY-NOTFOUND"
+else
+LIFE_MPI=
+endif
 DEB_CMAKE_EXTRA_FLAGS=                      \
         -DCMAKE_BUILD_TYPE=Release          \
 	-DPETSC_ARCH=linux-gnu-c-opt        \
 	-DPETSC_DIR=/usr/lib/petscdir/3.0.0 \
 	-DPETSC_EXECUTABLE_RUNS=ON          \
+	${LIFE_MPI}                         \
 	${LIFE_INSTALL_ENABLERS}            \
 	-DTRILINOS_LIB_NOXLAPACK=
 

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