-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

mabshoff wrote:
| Various people have started looking into this, but so far no one has
| produced code. One big issue (at least for me) with pycuda is the
| requirement for boost, but I am not sure how that could be overcome.
| [...]
| The main issue with boost I see is that PolyBoRi ships with a subset
| of boost and installs it into $SAGE_LOCAL/include/boost. I assume that
| it will not be enough of boost, i.e. boost python is not part of it.
| Since PolyBoRi also has an interface to Python using boost Python we
| might be able to add the bits needed to the polybori.spkg, otherwise I
| see potentially huge trouble by colliding boost versions in the tree.
| And shipping boost itself is not really an option due to its rather
| large size.

If the Boost headers are all that is needed (in many cases they are,
since most Boost libraries are header-only), it may be worth to ship
them together with Sage. I just checked and the complete Boost headers
amount to a compressed tarbz2ball of 2.9 MB, so packing them in Sage
should not be a big deal.

With the non-header-only Boost libraries (such as Boost.Python), a
possible approach could be that of modifying the build system of a
package that uses them to compile and link the needed Boost libraries
together with the package's own library. I.e., add the Boost libraries'
.cpp files directly in the project's Makefile.

Another possibility (especially if the use of Boost is widespread among
Sage packages) would be to compile shared library versions of the needed
Boost libraries when building Sage and use them when building the
packages that need them.

Just a couple of thoughts :)

Best regards,

~  Francesco.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiFltUACgkQFCtI0YdDCEs8DACdG93ZTG4wpyPxXMJMyl5bJqU7
zh0AnRfhIZ+wF+AOOpUVMp/6s8Qi2N6S
=T7jJ
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to