Merge branch origin/release-5-0
[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 and insert warning-suppression pragmas
5    (search for GMX in minimal version and copy all changes)
6    Alternative make a patch by diffing against unmodified version and applying patch. Such as
7    diff /path/to/boost_1_55_0 . -rwu |grep -v ^"Only in" > patch && patch -p? < patch
8 4) Make sure our subset works even with compilers not listed
9    among the boost ones (in particular, Fujistu in native mode):
10    - Edit config/select_compiler_config.hpp to add the fallback
11      to a generic compiler capability file at the end.
12    - Add the generic compiler capability file config/compiler/generic.hpp
13 5) run bcp with required files (currently boost/exception/all.hpp boost/scoped_ptr.hpp)
14 6) delete source files which are not required. Currently:
15    - libs/smart_ptr/
16    - libs/exception/
17    Make sure that they are really not needed. If any source files are added make sure to add them to cmake.
18