summaryrefslogtreecommitdiff
path: root/numpy/distutils/ccompiler.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2010-11-30 22:14:37 +0800
committerCharles Harris <charlesr.harris@gmail.com>2010-12-02 08:40:41 -0700
commit8d0b5817a3fd4f3ce465aba2fd0ddd30677b8e60 (patch)
treec8a4e3748dd22bef40c10e4770654023a65b2a07 /numpy/distutils/ccompiler.py
parenta70de5c870aa9406ddd84fd98e3d32d4c006d18e (diff)
downloadnumpy-8d0b5817a3fd4f3ce465aba2fd0ddd30677b8e60.tar.gz
ENH: add support for the PathScale compilers on Linux. Closes #1043.
Thanks to R. Perez.
Diffstat (limited to 'numpy/distutils/ccompiler.py')
-rw-r--r--numpy/distutils/ccompiler.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py
index 0889d11a0..011122b60 100644
--- a/numpy/distutils/ccompiler.py
+++ b/numpy/distutils/ccompiler.py
@@ -506,7 +506,11 @@ compiler_class['intel'] = ('intelccompiler','IntelCCompiler',
"Intel C Compiler for 32-bit applications")
compiler_class['intele'] = ('intelccompiler','IntelItaniumCCompiler',
"Intel C Itanium Compiler for Itanium-based applications")
-ccompiler._default_compilers += (('linux.*','intel'),('linux.*','intele'))
+compiler_class['pathcc'] = ('pathccompiler','PathScaleCCompiler',
+ "PathScale Compiler for SiCortex-based applications")
+ccompiler._default_compilers += (('linux.*','intel'),
+ ('linux.*','intele'),
+ ('linux.*','pathcc'))
if sys.platform == 'win32':
compiler_class['mingw32'] = ('mingw32ccompiler', 'Mingw32CCompiler',