Improve Gromacs portability
[alexxy/gromacs.git] / src / external / boost / README
index c63c724ab809fcc803a7eb8c2e0d635b8e79884a..a41bac446d5a98edc01163b884ed118f676425c3 100644 (file)
@@ -2,9 +2,14 @@ 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)
-4) run bcp with required files (currently exception/all.hpp, scoped_ptr.hpp)
-5) delete source files which are not required. Currently:
-       libs/smart_ptr/src/sp_collector.cpp
-       libs/smart_ptr/src/sp_debug_hooks.cpp
+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)
+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.