Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/pathccompiler.py @ 118:770eb830ec19 emscripten
Typo fix
author | Chris Cannam |
---|---|
date | Wed, 18 May 2016 16:14:08 +0100 |
parents | 2a2c65a20a8b |
children |
rev | line source |
---|---|
Chris@87 | 1 from __future__ import division, absolute_import, print_function |
Chris@87 | 2 |
Chris@87 | 3 from distutils.unixccompiler import UnixCCompiler |
Chris@87 | 4 |
Chris@87 | 5 class PathScaleCCompiler(UnixCCompiler): |
Chris@87 | 6 |
Chris@87 | 7 """ |
Chris@87 | 8 PathScale compiler compatible with an gcc built Python. |
Chris@87 | 9 """ |
Chris@87 | 10 |
Chris@87 | 11 compiler_type = 'pathcc' |
Chris@87 | 12 cc_exe = 'pathcc' |
Chris@87 | 13 cxx_exe = 'pathCC' |
Chris@87 | 14 |
Chris@87 | 15 def __init__ (self, verbose=0, dry_run=0, force=0): |
Chris@87 | 16 UnixCCompiler.__init__ (self, verbose, dry_run, force) |
Chris@87 | 17 cc_compiler = self.cc_exe |
Chris@87 | 18 cxx_compiler = self.cxx_exe |
Chris@87 | 19 self.set_executables(compiler=cc_compiler, |
Chris@87 | 20 compiler_so=cc_compiler, |
Chris@87 | 21 compiler_cxx=cxx_compiler, |
Chris@87 | 22 linker_exe=cc_compiler, |
Chris@87 | 23 linker_so=cc_compiler + ' -shared') |