Hi Martin,<div><br><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">* strip out everything python related (apart from maybe the build system)<br>

* strip out all modules (namespaces) that are unused by my code<br>
<br>
leaving a fairly bare-bones C++ library that is quick and easy to build.<br></blockquote><div><br></div><div>We have the libtbx/configure.py --build-boost-python-extensions=False option. I just tried this on my Mac laptop (4 cores + hyper-threading, compiles with -j 8):</div>
<div><br></div><div><div>python $sources/cctbx_project/libtbx/configure.py iotbx --build-boost-python-extensions=False</div><div>make</div></div><div><br></div><div>It finished in 100 seconds. The same command finishes in 37 seconds on a 64-core AMD running Linux. Are these times OK for your purposes?</div>
<div><br></div><div>We could streamline the cctbx module hierarchy for your needs to bring down the times further, if necessary.</div><div><br></div><div>To reduce the size of the source code directories, you could probably have some quick gains by removing certain top-level directories. I&#39;m not sure it is worth going into the directories below the top level. Networks are so fast these days and disks so big, developer time (for writing and maintaining the scripts to pick out just what you need) is usually the most scarce resource.</div>
<div><br></div><div>Ralf</div><div><br></div></div></div></div>