[boost/f14] Fix compile on ARM platforms

Peter Robinson pbrobinson at fedoraproject.org
Sat Jun 18 22:24:05 UTC 2011


commit bc246e1f6227a981557cef724bc467108840f4fc
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat Jun 18 23:23:47 2011 +0100

    Fix compile on ARM platforms

 boost.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/boost.spec b/boost.spec
index f04cb3f..2859665 100644
--- a/boost.spec
+++ b/boost.spec
@@ -11,7 +11,11 @@
 %endif
 
 # Configuration of MPI backends
+%ifarch %{arm}
+%bcond_with mpich2
+%else
 %bcond_without mpich2
+%endif
 %ifarch s390 s390x %{arm}
   # No OpenMPI support on these arches
   %bcond_with openmpi
@@ -23,7 +27,7 @@ Name: boost
 Summary: The free peer-reviewed portable C++ source libraries
 Version: 1.44.0
 %define pristine_version 1_44_0
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: Boost
 
 # The CMake build framework (set of CMakeLists.txt and module.cmake files) is
@@ -818,6 +822,9 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{_
 %{_bindir}/bjam
 
 %changelog
+* Sat Jun 18 2011 Peter Robinson <pbrobinson at gmail.com> - 1.44.0-9
+- Fix compile on ARM platforms
+
 * Fri Apr  1 2011 Petr Machata <pmachata at redhat.com> - 1.44.0-8
 - Yet another way to pass -DBOOST_LIB_INSTALL_DIR to cmake.  Passing
   via CMAKE_CXX_FLAGS for some reason breaks when rpm re-quotes the


More information about the scm-commits mailing list