]> granicus.if.org Git - python/commit
Issue #13590: OS X Xcode 4 - improve support for universal extension modules
authorNed Deily <nad@acm.org>
Thu, 31 Jan 2013 09:24:55 +0000 (01:24 -0800)
committerNed Deily <nad@acm.org>
Thu, 31 Jan 2013 09:24:55 +0000 (01:24 -0800)
commit18fae3f9542fc7bb0d9da53a5de30041651a85b6
tree3535c74d62b2547539de43b3d1152217ee23569d
parent77cd8aab2339780c0276f3fafa09a58182779b81
Issue #13590: OS X Xcode 4 - improve support for universal extension modules
    In particular, fix extension module build failures when trying to use
    32-bit-only installer Pythons on systems with Xcode 4 (currently
    OS X 10.8, 10.7, and optionally 10.6).
    * Backport 3.3.0 fixes to 2.7 branch (for release in 2.7.4)
    * Since Xcode 4 removes ppc support, extension module builds now
      check for ppc compiler support and by default remove ppc and
      ppc64 archs when they are not available.
    * Extension module builds now revert to using system installed
      headers and libs (/usr and /System/Library) if the SDK used
      to build the interpreter is not installed or has moved.
    * Try to avoid building extension modules with deprecated
      and problematic Apple llvm-gcc compiler.  If original compiler
      is not available, use clang instead by default.
Lib/_osx_support.py [new file with mode: 0644]
Lib/distutils/sysconfig.py
Lib/distutils/tests/test_sysconfig.py
Lib/distutils/unixccompiler.py
Lib/distutils/util.py
Lib/sysconfig.py
Lib/test/test__osx_support.py [new file with mode: 0644]
Lib/test/test_sysconfig.py
Misc/NEWS