]> git.pld-linux.org Git - packages/mpich.git/commitdiff
- control blcr checkpointing support by bcond not libcr presence
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 18 Jun 2015 14:31:15 +0000 (16:31 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 18 Jun 2015 14:31:15 +0000 (16:31 +0200)
mpich.spec

index 3c9ac839e0f788270c348728e47cf54484ad0f6d..633e19bc47dfeda97800fa6c1221acc0e2ef6f70 100644 (file)
@@ -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}
This page took 0.136909 seconds and 4 git commands to generate.