Minor update of boost README
[alexxy/gromacs.git] / src / external / boost / README
1 Steps to produce minimal version of BOOST:
2 1) Download Boost (current minimal version is derived from 1.55.0)
3 2) Extract
4 3) Edit Boost files to uncomment unnessary includes (search for GMX in minimal version and copy all changes)
5    Alternative make a patch by diffing against unmodified version and applying patch. Such as
6    diff /path/to/boost_1_55_0 . -rwu |grep -v ^"Only in" > patch && patch -p? < patch
7 4) Make sure our subset works even with compilers not listed
8    among the boost ones (in particular, Fujistu in native mode):
9    - Edit config/select_compiler_config.hpp to add the fallback
10      to a generic compiler capability file at the end.
11    - Add the generic compiler capability file config/compiler/generic.hpp
12 5) run bcp with required files (currently boost/exception/all.hpp boost/scoped_ptr.hpp)
13 6) delete source files which are not required. Currently:
14    - libs/smart_ptr/
15    - libs/exception/
16    Make sure that they are really not needed. If any source files are added make sure to add them to cmake.
17