|
|
|
@ -13,7 +13,8 @@ compilers = ['IntelFCompiler', 'IntelVisualFCompiler',
@@ -13,7 +13,8 @@ compilers = ['IntelFCompiler', 'IntelVisualFCompiler',
|
|
|
|
|
|
|
|
|
|
def intel_version_match(type): |
|
|
|
|
# Match against the important stuff in the version string |
|
|
|
|
return simple_version_match(start=r'Intel.*?Fortran.*?(?:%s).*?Version' % (type,)) |
|
|
|
|
return simple_version_match( |
|
|
|
|
start=r'Intel.*?Fortran.*?(?:%s).*?Version'.format(type,)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BaseIntelFCompiler(FCompiler): |
|
|
|
@ -104,7 +105,8 @@ class IntelEM64TFCompiler(IntelFCompiler):
@@ -104,7 +105,8 @@ class IntelEM64TFCompiler(IntelFCompiler):
|
|
|
|
|
compiler_aliases = () |
|
|
|
|
description = 'Intel Fortran Compiler for 64-bit apps' |
|
|
|
|
|
|
|
|
|
version_match = intel_version_match('EM64T-based|Intel\\(R\\) 64|64|IA-64|64-bit') |
|
|
|
|
version_match = intel_version_match( |
|
|
|
|
'EM64T-based|Intel\\(R\\) 64|64|IA-64|64-bit') |
|
|
|
|
|
|
|
|
|
possible_executables = ['ifort', 'efort', 'efc'] |
|
|
|
|
|
|
|
|
@ -163,7 +165,8 @@ class IntelVisualFCompiler(BaseIntelFCompiler):
@@ -163,7 +165,8 @@ class IntelVisualFCompiler(BaseIntelFCompiler):
|
|
|
|
|
module_include_switch = '/I' |
|
|
|
|
|
|
|
|
|
def get_flags(self): |
|
|
|
|
opt = ['/nologo', '/MD', '/nbs', '/names:lowercase', '/assume:underscore'] |
|
|
|
|
opt = ['/nologo', '/MD', '/nbs', '/names:lowercase', |
|
|
|
|
'/assume:underscore'] |
|
|
|
|
return opt |
|
|
|
|
|
|
|
|
|
def get_flags_free(self): |
|
|
|
|