intel-cl: correct argument order
This commit is contained in:
parent
508662f277
commit
17f766105f
|
@ -32,7 +32,7 @@ from .mixins.pgi import PGICompiler
|
|||
from .. import mlog
|
||||
|
||||
from mesonbuild.mesonlib import (
|
||||
EnvironmentException, MachineChoice, is_osx, LibType
|
||||
EnvironmentException, MachineChoice, LibType
|
||||
)
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
|
@ -296,7 +296,7 @@ class IntelClFortranCompiler(IntelVisualStudioLikeCompiler, FortranCompiler):
|
|||
def __init__(self, exelist, version, for_machine: MachineChoice,
|
||||
is_cross, target: str, info: 'MachineInfo', exe_wrapper=None,
|
||||
**kwargs):
|
||||
FortranCompiler.__init__(self, exelist, for_machine, version,
|
||||
FortranCompiler.__init__(self, exelist, version, for_machine,
|
||||
is_cross, info, exe_wrapper, **kwargs)
|
||||
IntelVisualStudioLikeCompiler.__init__(self, target)
|
||||
|
||||
|
|
|
@ -972,8 +972,8 @@ class Environment:
|
|||
cls = IntelClCCompiler if lang == 'c' else IntelClCPPCompiler
|
||||
linker = XilinkDynamicLinker(for_machine, version=version)
|
||||
return cls(
|
||||
compiler, version, for_machine, is_cross, exe_wrap,
|
||||
target, info, linker=linker)
|
||||
compiler, version, for_machine, is_cross, info=info,
|
||||
exe_wrap=exe_wrap, target=target, linker=linker)
|
||||
if 'Microsoft' in out or 'Microsoft' in err:
|
||||
# Latest versions of Visual Studio print version
|
||||
# number to stderr but earlier ones print version
|
||||
|
|
Loading…
Reference in New Issue