Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
Peter Robinson | bc246e1f62 | |
Petr Machata | a0f211959d | |
Petr Machata | 8802c4407b | |
Petr Machata | ec67c1492c | |
Petr Machata | 690e758c89 | |
Denis Arnaud | 5b53d565b5 |
|
@ -4,3 +4,4 @@ clog
|
||||||
.build*
|
.build*
|
||||||
boost_*/
|
boost_*/
|
||||||
*/*.rpm
|
*/*.rpm
|
||||||
|
/boost_1_44_0.tar.bz2
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
diff -urpN boost_1_44_0/libs/random/CMakeLists.txt boost_1_44_0-pm/libs/random/CMakeLists.txt
|
|
||||||
--- boost_1_44_0/libs/random/CMakeLists.txt 2011-01-03 16:52:25.000000000 +0100
|
|
||||||
+++ boost_1_44_0-pm/libs/random/CMakeLists.txt 2011-01-03 16:51:17.000000000 +0100
|
|
||||||
@@ -15,7 +15,7 @@ set (lib_headers
|
|
||||||
# Add a library target to the build system
|
|
||||||
boost_library_project(
|
|
||||||
random
|
|
||||||
- # SRCDIRS
|
|
||||||
+ SRCDIRS src
|
|
||||||
TESTDIRS test
|
|
||||||
HEADERS ${lib_headers}
|
|
||||||
# DOCDIRS
|
|
||||||
diff -urpN boost_1_44_0/libs/random/src/CMakeLists.txt boost_1_44_0-pm/libs/random/src/CMakeLists.txt
|
|
||||||
--- boost_1_44_0/libs/random/src/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
|
|
||||||
+++ boost_1_44_0-pm/libs/random/src/CMakeLists.txt 2011-01-03 16:50:40.000000000 +0100
|
|
||||||
@@ -0,0 +1,7 @@
|
|
||||||
+add_definitions(-DBOOST_RANDOM_NO_LIB=1)
|
|
||||||
+boost_add_library(
|
|
||||||
+ random
|
|
||||||
+ random_device.cpp
|
|
||||||
+ STATIC_COMPILE_FLAGS -DBOOST_RANDOM_STATIC_LINK
|
|
||||||
+ SHARED_COMPILE_FLAGS -DBOOST_ALL_DYN_LINK=1
|
|
||||||
+ )
|
|
34
boost.spec
34
boost.spec
|
@ -11,7 +11,11 @@
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Configuration of MPI backends
|
# Configuration of MPI backends
|
||||||
|
%ifarch %{arm}
|
||||||
|
%bcond_with mpich2
|
||||||
|
%else
|
||||||
%bcond_without mpich2
|
%bcond_without mpich2
|
||||||
|
%endif
|
||||||
%ifarch s390 s390x %{arm}
|
%ifarch s390 s390x %{arm}
|
||||||
# No OpenMPI support on these arches
|
# No OpenMPI support on these arches
|
||||||
%bcond_with openmpi
|
%bcond_with openmpi
|
||||||
|
@ -23,15 +27,18 @@ Name: boost
|
||||||
Summary: The free peer-reviewed portable C++ source libraries
|
Summary: The free peer-reviewed portable C++ source libraries
|
||||||
Version: 1.44.0
|
Version: 1.44.0
|
||||||
%define pristine_version 1_44_0
|
%define pristine_version 1_44_0
|
||||||
Release: 6%{?dist}
|
Release: 9%{?dist}
|
||||||
License: Boost
|
License: Boost
|
||||||
|
|
||||||
# The CMake build framework (set of CMakeLists.txt and module.cmake files) is
|
# The CMake build framework (set of CMakeLists.txt and module.cmake files) is
|
||||||
# added on top of the official Boost release (http://www.boost.org), thanks to
|
# added on top of the official Boost release (http://www.boost.org), thanks to
|
||||||
# a dedicated patch. That CMake framework (and patch) is hosted and maintained
|
# a dedicated patch. That CMake framework (and patch) is hosted and maintained
|
||||||
# on Gitorious, for now in the following Git repository:
|
# on GitHub, for now in the following Git repository:
|
||||||
# http://gitorious.org/boost/denisarnauds-zeuners-boost-cmake
|
# https://github.com/denisarnaud/boost-cmake
|
||||||
# http://git.gitorious.org/~denisarnaud/boost/denisarnauds-zeuners-boost-cmake.git
|
# A clone also exists on Gitorious, where CMake-related work was formely done:
|
||||||
|
# http://gitorious.org/~denisarnaud/boost/denisarnauds-cmake
|
||||||
|
# Upstream work is synchronised thanks to the Ryppl's hosted Git clone:
|
||||||
|
# https://github.com/ryppl/boost-svn/tree/trunk
|
||||||
%define full_pristine_version %{name}_%{pristine_version}
|
%define full_pristine_version %{name}_%{pristine_version}
|
||||||
%define full_cmake_version %{name}-%{version}.cmake
|
%define full_cmake_version %{name}-%{version}.cmake
|
||||||
URL: http://www.boost.org
|
URL: http://www.boost.org
|
||||||
|
@ -79,9 +86,8 @@ BuildRequires: python-devel
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
|
|
||||||
Patch0: cmakeify_boost_1440.patch
|
Patch0: cmakeify_boost_1440_3.patch
|
||||||
#Patch1: boost-cmake-soname.patch
|
#Patch1: boost-cmake-soname.patch
|
||||||
Patch2: boost-random-dso.patch
|
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
%bcond_with docs_generated
|
%bcond_with docs_generated
|
||||||
|
@ -404,7 +410,6 @@ a number of significant features and is now developed independently
|
||||||
|
|
||||||
# CMake framework (CMakeLists.txt, *.cmake and documentation files)
|
# CMake framework (CMakeLists.txt, *.cmake and documentation files)
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Support for building tests.
|
# Support for building tests.
|
||||||
|
@ -416,10 +421,10 @@ a number of significant features and is now developed independently
|
||||||
( echo ============================= build serial ==================
|
( echo ============================= build serial ==================
|
||||||
mkdir serial
|
mkdir serial
|
||||||
cd serial
|
cd serial
|
||||||
|
export CXXFLAGS="-DBOOST_IOSTREAMS_USE_DEPRECATED %{optflags}"
|
||||||
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo %{boost_testflags} \
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo %{boost_testflags} \
|
||||||
-DENABLE_SINGLE_THREADED=YES -DINSTALL_VERSIONED=OFF \
|
-DENABLE_SINGLE_THREADED=YES -DINSTALL_VERSIONED=OFF \
|
||||||
-DWITH_MPI=OFF \
|
-DWITH_MPI=OFF \
|
||||||
-DCMAKE_CXX_FLAGS="%{optflags} -DBOOST_IOSTREAMS_USE_DEPRECATED" \
|
|
||||||
..
|
..
|
||||||
make VERBOSE=1 %{?_smp_mflags}
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
)
|
)
|
||||||
|
@ -817,6 +822,19 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{_
|
||||||
%{_bindir}/bjam
|
%{_bindir}/bjam
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 18 2011 Peter Robinson <pbrobinson@gmail.com> - 1.44.0-9
|
||||||
|
- Fix compile on ARM platforms
|
||||||
|
|
||||||
|
* Fri Apr 1 2011 Petr Machata <pmachata@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
|
||||||
|
expression as a result of %%{optflags} expansion.
|
||||||
|
- Resolves: #667294
|
||||||
|
|
||||||
|
* Mon Jan 10 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.44.0-7
|
||||||
|
- Integrated Petr's work to fix missing Boost.Filesystem V3 issue
|
||||||
|
- Resolves: #667740
|
||||||
|
|
||||||
* Thu Jan 6 2011 Petr Machata <pmachata@redhat.com> - 1.44.0-6
|
* Thu Jan 6 2011 Petr Machata <pmachata@redhat.com> - 1.44.0-6
|
||||||
- Don't override CXXFLAGS with -DBOOST_IOSTREAMS_USE_DEPRECATED
|
- Don't override CXXFLAGS with -DBOOST_IOSTREAMS_USE_DEPRECATED
|
||||||
- Resolves: #667294
|
- Resolves: #667294
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue