Message162742
The attached patch "issue13241-configure-version1.txt" implements a number of changes to configure (although only configure.ac is present in the patch)
1) Autodetect the compiler on OSX, in particular
- detect llvm-gcc and use clang instead
- use clang when gcc cannot be found
- use xcrun to locate clang when it isn't in /usr/bin
(no Command Line Tools for Xcode)
2) Detect the most recent working SDK, falls back to the 10.4u SDK
when using an old version of Xcode or even '/' when that SDK isn't
present
This patch needs work though:
* I have barely tested the patch, configure seems to generate a valid
Makefile on OSX 10.7 with the unix tools installed, I haven't tested
yet on older OSX versions of without the unix tools installed
* Distutils/packaging also need changes: need to detect that the
running system has different compiler tools than the build system.
This is needed to be able to use the binary installers on python.org
on systems with other compiler versions and installed SDKs |
|
Date |
User |
Action |
Args |
2012-06-13 23:57:58 | ronaldoussoren | set | recipients:
+ ronaldoussoren, gvanrossum, barry, vstinner, ned.deily, trent, ezio.melotti, thomaspinckney3, michael.foord, maker, Yury.Selivanov, Julian, hynek, Nam.Nguyen, Oleg.Plakhotnyuk, xapple, Anton.Korobeynikov |
2012-06-13 23:57:58 | ronaldoussoren | set | messageid: <1339631878.34.0.781273102257.issue13241@psf.upfronthosting.co.za> |
2012-06-13 23:57:57 | ronaldoussoren | link | issue13241 messages |
2012-06-13 23:57:57 | ronaldoussoren | create | |
|