8000 bpo-32726: macOS installer and framework enhancements and changes for 3.7.0 by ned-deily · Pull Request #5448 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-32726: macOS installer and framework enhancements and changes for 3.7.0 #5448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jan 30, 2018
Merged
Prev Previous commit
Next Next commit
really set CC to "gcc" rather than "gcc-4.2"
  • Loading branch information
ned-deily committed Jan 30, 2018
commit a5124833b15d4fb5b30c671d47260ab640eb4d54
8 changes: 5 additions & 3 deletions Mac/BuildScript/build-installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
The SDK stuff was primarily needed for building universal installers
for 10.4; so as of 3.7.0, building installers for 10.4 is no longer
supported with build-installer.
- use generic "gcc" as compiler (CC env var) rather than "gcc-4.2"

TODO:
- support SDKROOT and DEVELOPER_DIR xcrun env variables
- decouple /Library Tcl/Tk versions from /System/Library versions
- test with 10.5 and 10.4 and determine support status

Please ensure that this script keeps working with Python 2.5, to avoid
bootstrap issues (/usr/bin/python is Python 2.5 on OSX 10.5). Doc builds
Expand Down Expand Up @@ -156,10 +158,10 @@ def getDeptargetTuple():
def getTargetCompilers():
target_cc_map = {
'10.4': ('gcc-4.0', 'g++-4.0'),
'10.5': ('gcc-4.2', 'g++-4.2'),
'10.6': ('gcc-4.2', 'g++-4.2'),
'10.5': ('gcc', 'g++'),
'10.6': ('gcc', 'g++'),
}
return target_cc_map.get(DEPTARGET, ('clang', 'clang++') )
return target_cc_map.get(DEPTARGET, ('gcc', 'gcc++') )

CC, CXX = getTargetCompilers()

Expand Down
0