Changes between Version 34 and Version 35 of Ticket #22756


Ignore:
Timestamp:
04/07/17 22:52:38 (3 years ago)
Author:
jhpalmieri
Comment:

With these changes (and the changes listed at #22781), I can build almost all of Sage on OS X with SAGE_PYTHON3=yes. It breaks on the Sage library in an expected place (the use of cmp in sage/rings/real_lazy.pyx -- see #22257).

Edit: oh, except for SageNB, the build of which is disabled for Python 3 in #22787.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22756 – Description

    v34 v35  
    55- use `clang` to compile Python 3, as we do for Python 2. Without this, the `_scproxy` module fails to build.
    66
     7- patch `Include/pyport.h` as we do for Python 2 -- see #22147, and also https://trac.macports.org/ticket/44288 and ​http://bugs.python.org/issue10910.
     8
    79- do not create a symlink `SAGE_LOCAL/lib/python` -- see #22764. If this symlink is in place and if Python 2 is built before Python 3, then Python 3 picks up that link in its load path, and so it tries to read a lot of Python 2 packages, which is bad.
    810