Differences between revisions 8 and 9
Revision 8 as of 2012-07-06 18:49:48
Size: 2325
Editor: ?RadostanRiedel
Comment:
Revision 9 as of 2012-07-07 11:24:41
Size: 2450
Editor: picca
Comment:
Deletions are marked like this. Additions are marked like this.
Line 39: Line 39:
Generated using this [[attachment:libtbx_config_to_dot.py|script]]
As explain by the [[http://cctbx.sourceforge.net/current/#high-level-organization|upstream]]

python module organisation g
enerated using this [[attachment:libtbx_config_to_dot.py|script]]

cctbx packaging

peoples interested by this packaging effort

  • Baptiste Carvello
  • picca

  • Radostan Riedel

you can find the git repository here cctbx repo

the current ITP is here 679905

upstream

the main website is there http://cctbx.sourceforge.net/

build dependencies

mmdb

679982

gpp4

679988

clipper

679990

bundled

  • libann-dev
  • libboost-python-dev
  • libfftw3-dev
  • python-setuptools (>= 0.6.10)

  • python-all-dev
  • debhelper (>= 7)

  • python-all-dev (>= 2.3)

  • python (>= 2.3.5-11)

  • libboost-thread-dev
  • scons
  • python-support
  • libtool

package organisation

As explain by the upstream

python module organisation generated using this script cctbx-depends.png

  • Red boxes : python modules,
  • green boxes are others (C++ or external).
  • Black arrows are run-time dependancies
  • Red arrows are build-time dependancies
  • Green arrows are optional dependancies.

libraries generated

  • libmmtbx_masks.so
  • libscitbx_boost_python.so
  • libsmtbx_refinement_constraints.so
  • libboost_python.so
  • libcctbx_sgtbx_asu.so
  • libiotbx_mtz.so
  • libomptbx.so
  • libscitbx_minpack.so
  • libspotfinder.so
  • libcctbx.so
  • libiotbx_pdb.so
  • librstbx.so
  • libscitbx_slatec.so

is it all ?, API/ABI stability ?

python modules/extensions

...

TODO

  • solve the API/ABI stability problems for libs
  • identify the bundeled libraries (boost ...)
  • what should be do with this future problem (could you elaborate ?)

  • license check of the remaining files
  • package the build-dep
  • propose a patch which allow to build out of the box with the system libraries.
  • repack to remove all bundled libraries, it should save some space.
  • remove the cctbx bundled in objcryst-fox once done
  • take care of the pickle object libtbx_env

Proposed Solutions for building the libs

  • Utilizing libtool to build the shared libraries with scons.
  • Modifying libtbx/configure.py to take new command line option:
    • --libtoolize /usr/lib --libtool-install-prefix