From bc246e1f6227a981557cef724bc467108840f4fc Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 18 Jun 2011 23:23:47 +0100 Subject: [PATCH] Fix compile on ARM platforms --- boost.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 - 1.44.0-9 +- Fix compile on ARM platforms + * Fri Apr 1 2011 Petr Machata - 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