Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2008-05-16 15:30:51
Size: 12338
Comment: m4ri has been ported to MSVC by Martin Albrecht
Revision 8 as of 2008-05-21 01:06:04
Size: 12589
Comment: update ecm, mpfr, ATLAS
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
 * atlas-3.8.p11: Works find [[fine]], Intel C for better performance preferred
 * gsl-1.10.p0: port exists: http://gnuwin32.sourceforge.net/packages/gsl.htm. Brian Gladman also maintains a native MSVC port, 32 & 64 bit.
Line 41: Line 39:
 * numpy-20080104-1.0.4.p2: support by enthought, builds out of the box with MSVC + ATLAS
Line 44: Line 41:
 * mpfr-2.3.1: pure C, Windows make file support welcome upstream, depends on gmp.
* 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 45:
 * sympy-0.5.7: pure python, no portability issues.
Line 52: Line 46:
 * networkx-0.36.p1: pure python, no portability issues
Line 58: Line 51:
 * scons-0.97: works fine on Windows, python based.
Line 65: Line 57:
 * libm4ri-20071224.p1: no Windows port, maintainer will accept Windows port [windows port done by Martin Albrecht - w00t]
 * ecm-6.1.3: no Windows port, but C, potentially issues with threading [[worrisome.]]
 * libm4ri-20071224.p1: no Windows port, maintainer will accept Windows port [windows port done by Martin Albrecht -
Line 75: Line 66:
 * weave-0.4.9: now part of scikits, works fine with MSVC
Line 80: Line 70:
 * 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 ==

 * atlas-3.8.p11: Works find [[fine]], Intel C for better performance preferred
 * gsl-1.10.p0: port exists: http://gnuwin32.sourceforge.net/packages/gsl.htm. Brian Gladman also maintains a native MSVC port, 32 & 64 bit.
 * mpfr-2.3.1: pure C, Windows make file support welcome upstream, depends on gmp. MSVC project by Brian Gladman exists and is recommended by upstream
 * numpy-20080104-1.0.4.p2: support by enthought, builds out of the box with MSVC + ATLAS
Line 82: Line 83:
 * 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 85:
 * 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
 * ecm-6.1.3: no Windows port, but C, potentially issues with threading. Upstream ecm-6.2 has MSVC project by Brian Gladman - upgrading evm to the 6.2 release is #3237

== 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

  • atlas-3.8.p11: Works find fine, Intel C for better performance preferred

  • gsl-1.10.p0: port exists: http://gnuwin32.sourceforge.net/packages/gsl.htm. Brian Gladman also maintains a native MSVC port, 32 & 64 bit.

  • mpfr-2.3.1: pure C, Windows make file support welcome upstream, depends on gmp. MSVC project by Brian Gladman exists and is recommended by upstream
  • 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
  • ecm-6.1.3: no Windows port, but C, potentially issues with threading. Upstream ecm-6.2 has MSVC project by Brian Gladman - upgrading evm to the 6.2 release is #3237

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