MCPcopy Index your code
hub / github.com/python/cpython / getTargetCompilers

Function getTargetCompilers

Mac/BuildScript/build-installer.py:163–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 return tuple([int(n) for n in platform.mac_ver()[0].split('.')[0:2]])
162
163def getTargetCompilers():
164 target_cc_map = {
165 '10.4': ('gcc-4.0', 'g++-4.0'),
166 '10.5': ('gcc', 'g++'),
167 '10.6': ('gcc', 'g++'),
168 '10.7': ('gcc', 'g++'),
169 '10.8': ('gcc', 'g++'),
170 }
171 return target_cc_map.get(DEPTARGET, ('clang', 'clang++') )
172
173CC, CXX = getTargetCompilers()
174

Callers 2

build-installer.pyFile · 0.85
parseOptionsFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…