From 84962cc507431187a2aa90e0a2f5335ccd721217 Mon Sep 17 00:00:00 2001 From: Roland Schulz Date: Tue, 4 Nov 2014 19:01:29 -0500 Subject: [PATCH] Minor update of boost README Change-Id: Ib6017efd89225771cea4f56d9e18994c25b8361e --- src/external/boost/README | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/external/boost/README b/src/external/boost/README index a41bac446d..2f193803f3 100644 --- a/src/external/boost/README +++ b/src/external/boost/README @@ -2,14 +2,16 @@ Steps to produce minimal version of BOOST: 1) Download Boost (current minimal version is derived from 1.55.0) 2) Extract 3) Edit Boost files to uncomment unnessary includes (search for GMX in minimal version and copy all changes) + Alternative make a patch by diffing against unmodified version and applying patch. Such as + diff /path/to/boost_1_55_0 . -rwu |grep -v ^"Only in" > patch && patch -p? < patch 4) Make sure our subset works even with compilers not listed among the boost ones (in particular, Fujistu in native mode): - Edit config/select_compiler_config.hpp to add the fallback to a generic compiler capability file at the end. - Add the generic compiler capability file config/compiler/generic.hpp -5) run bcp with required files (currently exception/all.hpp, scoped_ptr.hpp) +5) run bcp with required files (currently boost/exception/all.hpp boost/scoped_ptr.hpp) 6) delete source files which are not required. Currently: - - libs/smart_ptr/src/sp_collector.cpp - - libs/smart_ptr/src/sp_debug_hooks.cpp - Make sure that they are really not needed.If any source files are added make sure to add them to cmake. + - libs/smart_ptr/ + - libs/exception/ + Make sure that they are really not needed. If any source files are added make sure to add them to cmake. -- 2.22.0