Skip to content

Commit eb5a98a

Browse files
authored
Merge pull request numpy#27558 from rgommers/fix-icc-warning
MAINT: distutils: remove obsolete search for `ecc` executable
2 parents e5fccde + 610cbe4 commit eb5a98a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

numpy/distutils/intelccompiler.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@ def __init__(self, verbose=0, dry_run=0, force=0):
3737

3838
class IntelItaniumCCompiler(IntelCCompiler):
3939
compiler_type = 'intele'
40-
41-
# On Itanium, the Intel Compiler used to be called ecc, let's search for
42-
# it (now it's also icc, so ecc is last in the search).
43-
for cc_exe in map(find_executable, ['icc', 'ecc']):
44-
if cc_exe:
45-
break
40+
cc_exe = 'icc'
4641

4742

4843
class IntelEM64TCCompiler(UnixCCompiler):

0 commit comments

Comments
 (0)