Differences between revisions 6 and 7
Revision 6 as of 2008-05-16 15:30:51
Size: 12338
Comment: m4ri has been ported to MSVC by Martin Albrecht
Revision 7 as of 2008-05-21 01:03:33
Size: 12445
Comment: reord packages into sections "existing msvc support", "pure python", "no compiled code"
Deletions are marked like this. Additions are marked like this.
Line 41: Line 41:
 * numpy-20080104-1.0.4.p2: support by enthought, builds out of the box with MSVC + ATLAS
Line 45: Line 44:
 * pexpect-2.0.p1: This is the big, difficult one. pexpect uses pseudo ttys and a whole bunch of POSIX infrastructure. It is essential and central to Sage and no one has ported pexpect to Windows. While the API is very different it is still possible to map all functionality to native Windows API calls. But it will probably take a lot of energy to get it stable and clean. The ultimate goal would be to get this merged upstream since it would be quite a lot of work to go at this alone
[[yes, this is the biggie. note that pexpect *does* sort of work under cygwin, which might be relevant. Also, instead of porting pexpect, it might be possible to simply do something completely different than accomplishes much the same thing. pexpect was the way to go with Python and Unix -- in windows perhaps there is a totally different approach to interprocess communication that would work better? It's possibly OK if this means rewriting SAGE_ROOT/devel/sage/sage/interfaces/* for this new approach. This definitely needs to be investigated. Some of the programs Sage interfaces with have native "client server" archicture, and that could perhaps be used instead. E.g., Maple and Mathematica do. Maxima almost certainly doesn't...]]
 * pexpect-2.0.p1: This is the big, difficult one. pexpect uses pseudo ttys and a whole bunch of POSIX infrastructure. It is essential and central to Sage and no one has ported pexpect to Windows. While the API is very different it is still possible to map all functionality to native Windows API calls. But it will probably take a lot of energy to get it stable and clean. The ultimate goal would be to get this merged upstream since it would be quite a lot of work to go at this alone [[yes, this is the biggie. note that pexpect *does* sort of work under cygwin, which might be relevant. Also, instead of porting pexpect, it might be possible to simply do something completely different than accomplishes much the same thing. pexpect was the way to go with Python and Unix -- in windows perhaps there is a totally different approach to interprocess communication that would work better? It's possibly OK if this means rewriting SAGE_ROOT/devel/sage/sage/interfaces/* for this new approach. This definitely needs to be investigated. Some of the programs Sage interfaces with have native "client server" archicture, and that could perhaps be used instead. E.g., Maple and Mathematica do. Maxima almost certainly doesn't...]]
Line 50: Line 48:
 * sympy-0.5.7: pure python, no portability issues.
Line 52: Line 49:
 * networkx-0.36.p1: pure python, no portability issues
Line 58: Line 54:
 * scons-0.97: works fine on Windows, python based.
Line 75: Line 70:
 * weave-0.4.9: now part of scikits, works fine with MSVC
Line 80: Line 74:
 * cvxopt-0.9.p5: Has Windows build support, provides binary packages
 * jmol-11.5.2.p1: pure java, no portability issues, large community of users on Windows
 * linbox-20070915.p5: this will be some heavy lifting, mostly due to some heavy templated code. Upstream is willing to merge and help out.
 * gap-4.4.10.p2: Depends on sbrk(), currently builds only via Cygwin. [[a cygwin build could be fine for us, since there is no binary linking between sage and gap, and almost certainly there never will be any.]]

== Packages with upstream MSVC support ==

 * numpy-20080104-1.0.4.p2: support by enthought, builds out of the box with MSVC + ATLAS
Line 82: Line 84:
 * cvxopt-0.9.p5: Has Windows build support, provides binary packages
 * jmol-11.5.2.p1: pure java, no portability issues, large community of users on Windows
 * scons-0.97: works fine on Windows, python based.
Line 85: Line 86:
 * linbox-20070915.p5: this will be some heavy lifting, mostly due to some heavy templated code. Upstream is willing to merge and help out.
 * gap-4.4.10.p2: Depends on sbrk(), currently builds only via Cygwin. [[a cygwin build could be fine for us, since there is no binary linking between sage and gap, and almost certainly there never will be any.]]
 * weave-0.4.9: now part of scikits, works fine with MSVC

== Pure Python Packages ==

== Packages without code ==
Line 88: Line 92:
 * sympy-0.5.7: pure python, no portability issues.
 * networkx-0.36.p1: pure python, no portability issues

This page is part the [:windows:Sage on Windows port].

Package Analysis

Below you will find a list of packages in Sage as well as remarks on issues that will potentially come up during the Windows port. As we progress we will add detailed problem reports and how we resolved those issues at individual pages.

NOTE: [http://www.apcocoa.org/wiki/ApCoCoALib:CompilationInstructions Some other useful information]

Packages with upstream MSVC support

  • numpy-20080104-1.0.4.p2: support by enthought, builds out of the box with MSVC + ATLAS
  • scipy-20071020-0.6.p3: support by enthought, builds out of the box with MSVC + ATLAS
  • scipy_sandbox-20071020.p2: support by enthought, builds out of the box with MSVC + ATLAS
  • scons-0.97: works fine on Windows, python based.
  • tachyon-0.98beta.p4: Windows port exists, unsure about MSVC + threading.
  • weave-0.4.9: now part of scikits, works fine with MSVC

Pure Python Packages

Packages without code

  • doc-2.10.2.alpha0: no compiled code, so no portability issues.
  • sympy-0.5.7: pure python, no portability issues.
  • networkx-0.36.p1: pure python, no portability issues