Home
last modified time | relevance | path

Searched refs:compiler_so (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Lib/
D_osx_support.py358 def compiler_fixup(compiler_so, cc_args): argument
369 compiler_so = list(compiler_so)
382 index = compiler_so.index('-arch')
384 del compiler_so[index:index+2]
390 for idx in reversed(range(len(compiler_so))):
391 if compiler_so[idx] == '-arch' and compiler_so[idx+1] == "arm64":
392 del compiler_so[idx:idx+2]
397 compiler_so = compiler_so + os.environ['ARCHFLAGS'].split()
401 indices = [i for i,x in enumerate(compiler_so) if x.startswith('-isysroot')]
405 if compiler_so[index] == '-isysroot':
[all …]
/external/python/cpython2/Lib/
D_osx_support.py304 def compiler_fixup(compiler_so, cc_args): argument
315 compiler_so = list(compiler_so)
328 index = compiler_so.index('-arch')
330 del compiler_so[index:index+2]
337 compiler_so = compiler_so + os.environ['ARCHFLAGS'].split()
342 index = compiler_so.index('-isysroot')
344 del compiler_so[index:index+2]
355 elif '-isysroot' in compiler_so:
356 idx = compiler_so.index('-isysroot')
357 sysroot = compiler_so[idx+1]
[all …]
/external/python/cpython2/Lib/distutils/
Dunixccompiler.py116 compiler_so = self.compiler_so
118 compiler_so = _osx_support.compiler_fixup(compiler_so,
121 self.spawn(compiler_so + cc_args + [src, '-o', obj] +
Dcygwinccompiler.py133 compiler_so='gcc -mcygwin -mdll -O -Wall',
163 self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
328 compiler_so='gcc%s -mdll -O -Wall' % no_cygwin,
Demxccompiler.py67 compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
86 self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
Dsysconfig.py216 compiler_so=cc_cmd + ' ' + ccshared,
/external/python/cpython3/Lib/distutils/
Dunixccompiler.py112 compiler_so = self.compiler_so
114 compiler_so = _osx_support.compiler_fixup(compiler_so,
117 self.spawn(compiler_so + cc_args + [src, '-o', obj] +
Dcygwinccompiler.py139 compiler_so='gcc -mcygwin -mdll -O -Wall',
167 self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
301 compiler_so='gcc -mdll -O -Wall',
Dsysconfig.py237 compiler_so=cc_cmd + ' ' + ccshared,