From: Roland Schulz Date: Wed, 5 Nov 2014 00:01:29 +0000 (-0500) Subject: Minor update of boost README X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=84962cc507431187a2aa90e0a2f5335ccd721217;p=alexxy%2Fgromacs.git Minor update of boost README Change-Id: Ib6017efd89225771cea4f56d9e18994c25b8361e --- 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.