summaryrefslogtreecommitdiff
path: root/numpy/distutils/intelccompiler.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2006-07-06 16:57:20 +0000
committercookedm <cookedm@localhost>2006-07-06 16:57:20 +0000
commit6782a92fd1a7625ee48f6b2946a7d7149ab28a77 (patch)
tree177a92f0673655b58b247e663477af06ac1192b6 /numpy/distutils/intelccompiler.py
parent216f071ab060a6f08c22666aea33f7095f079d1e (diff)
downloadnumpy-6782a92fd1a7625ee48f6b2946a7d7149ab28a77.tar.gz
Branch numpy.distutils to distutils-revamp
Diffstat (limited to 'numpy/distutils/intelccompiler.py')
-rw-r--r--numpy/distutils/intelccompiler.py30
1 files changed, 0 insertions, 30 deletions
diff --git a/numpy/distutils/intelccompiler.py b/numpy/distutils/intelccompiler.py
deleted file mode 100644
index f7908bbe9..000000000
--- a/numpy/distutils/intelccompiler.py
+++ /dev/null
@@ -1,30 +0,0 @@
-
-import os
-from distutils.unixccompiler import UnixCCompiler
-from numpy.distutils.exec_command import find_executable
-
-class IntelCCompiler(UnixCCompiler):
-
- """ A modified Intel compiler compatible with an gcc built Python.
- """
-
- compiler_type = 'intel'
- cc_exe = 'icc'
-
- def __init__ (self, verbose=0, dry_run=0, force=0):
- UnixCCompiler.__init__ (self, verbose,dry_run, force)
- compiler = self.cc_exe
- self.set_executables(compiler=compiler,
- compiler_so=compiler,
- compiler_cxx=compiler,
- linker_exe=compiler,
- linker_so=compiler + ' -shared')
-
-class IntelItaniumCCompiler(IntelCCompiler):
- compiler_type = 'intele'
-
- # On Itanium, the Intel Compiler used to be called ecc, let's search for
- # it (now it's also icc, so ecc is last in the search).
- for cc_exe in map(find_executable,['icc','ecc']):
- if os.path.isfile(cc_exe):
- break