Skip to content

Commit

Permalink
Store first line of VisualStudio compiler output as full_version
Browse files Browse the repository at this point in the history
Store the first line of VisualStudio compiler output as full_version,
so it gets output when we report compiler details.
  • Loading branch information
jon-turney authored and nirbheek committed Sep 11, 2020
1 parent d880f99 commit 77930d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ def sanitize(p):
linker = self._guess_win_linker(['link'], cls, for_machine)
return cls(
compiler, version, for_machine, is_cross, info, exe_wrap,
target, linker=linker)
target, full_version=cl_signature, linker=linker)
if 'PGI Compilers' in out:
cls = PGICCompiler if lang == 'c' else PGICPPCompiler
self.coredata.add_lang_args(cls.language, cls, for_machine, self)
Expand Down

0 comments on commit 77930d8

Please sign in to comment.