commit d08d49241d4e9b7f3e26d1a21917ba5892ec092a
Author: Jakub Bogusz <[email protected]>
Date:   Thu Jun 18 16:31:15 2015 +0200

    - control blcr checkpointing support by bcond not libcr presence

 mpich.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/mpich.spec b/mpich.spec
index 3c9ac83..633e19b 100644
--- a/mpich.spec
+++ b/mpich.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    blcr    # blcr application checkpointing support (no support 
for recent kernels)
+#
 Summary:       Portable MPI Model Implementation
 Summary(pl.UTF-8):     PrzenoĊ›na implementacja standardu MPI
 Name:          mpich
@@ -13,6 +17,7 @@ Patch2:               x32-misdetected-as-i386.patch
 URL:           http://www.mpich.org/
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.12.3
+%{?with_blcr:BuildRequires:    blcr-devel}
 BuildRequires: ftb-devel
 BuildRequires: gcc-fortran
 BuildRequires: hwloc-devel >= 1.9.0
@@ -83,7 +88,9 @@ Biblioteki statyczne MPICH.
 %{__automake}
 %configure \
        --disable-silent-rules \
+       %{?with_blcr:--enable-checkpointing} \
        --with-hwloc-prefix=system \
+       %{!?with_blcr:--with-hydra-ckpointlib=none} \
        --with-openpa-prefix=system
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mpich.git/commitdiff/d08d49241d4e9b7f3e26d1a21917ba5892ec092a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to