building cctbx with external boost
Hi I vaguely remember a discussion some time ago about building cctbx with stand-alone boost libraries. Do you know what boost versions are compatible? Is using the --scan-boost option enough? I see that Gentoo has extra patch to unbundle boost from cctbx: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-libs/cctbx/files... Is it necessary? I'm asking because at this moment we have in CCP4 two versions of boost, one in cctbx and the other for building DSSP (it uses different subset of boost libs than cctbx). It would make sense to use a single version for both, if possible. Cheers Marcin
On 18/12/13 01:58, Marcin Wojdyr wrote:
Hi
I vaguely remember a discussion some time ago about building cctbx with stand-alone boost libraries. Do you know what boost versions are compatible?
Is using the --scan-boost option enough? I see that Gentoo has extra patch to unbundle boost from cctbx: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-libs/cctbx/files... Is it necessary?
Hi, I am not sure how the latest state of the ebuild is but I pushed one for a more recent version of cctbx to the ccp4-640 branch of the science overlay on github [1]. That one included the massive effort of a debian developer (I am really sorry I cannot remember the name) to have make the build smoother for distribution maintainers.
I'm asking because at this moment we have in CCP4 two versions of boost, one in cctbx and the other for building DSSP (it uses different subset of boost libs than cctbx). It would make sense to use a single version for both, if possible.
It makes no sense to have two version. Just fix the code in one of them. Interestingly I can build cctbx and dssp with the same version of boost, the system version. Justin 1) https://github.com/gentoo-science/sci/tree/ccp4-640 -- Justin Lecher Institute of Complex Systems ICS-6 Structural Biochemistry Research Centre Juelich 52425 Juelich, Germany phone: +49 2461 61 2117
On 18 December 2013 07:36, Justin Lecher
I'm asking because at this moment we have in CCP4 two versions of boost, one in cctbx and the other for building DSSP (it uses different subset of boost libs than cctbx). It would make sense to use a single version for both, if possible.
It makes no sense to have two version. Just fix the code in one of them.
Well, fixing the code can solve any problem, but it can be time consuming. I was wondering if it's possible to build cctbx with external boost without changing the code. Or what are minimal changes needed to make it work. BTW you have a nice collection of patches: https://github.com/gentoo-science/sci/tree/ccp4-640/sci-libs/cctbx/files/201... Marcin
On 19/12/13 19:57, Marcin Wojdyr wrote:
On 18 December 2013 07:36, Justin Lecher
wrote: I'm asking because at this moment we have in CCP4 two versions of boost, one in cctbx and the other for building DSSP (it uses different subset of boost libs than cctbx). It would make sense to use a single version for both, if possible.
It makes no sense to have two version. Just fix the code in one of them.
Well, fixing the code can solve any problem, but it can be time consuming. I was wondering if it's possible to build cctbx with external boost without changing the code. Or what are minimal changes needed to make it work.
BTW you have a nice collection of patches: https://github.com/gentoo-science/sci/tree/ccp4-640/sci-libs/cctbx/files/201...
Again, the credit doesn't go to me. They were posted to this list some time ago. Justin -- Justin Lecher Institute of Complex Systems ICS-6 Structural Biochemistry Research Centre Juelich 52425 Juelich, Germany phone: +49 2461 61 2117
participants (2)
-
Justin Lecher
-
Marcin Wojdyr