diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-10-14 13:29:48 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-10-14 15:23:42 +0200 |
commit | 59fe5c0a9c3f21dbd2bae7f5886105ab9fc3727c (patch) | |
tree | d3845f98dae8c1b3bb1eef42340795ab739dca79 /solenv | |
parent | 6e43569fdfcb5070b6149b34f797008ff9b95809 (diff) |
filter out also link.exe messages about LTO code generation
Change-Id: I4f61bfd829429745141cd03eb0db625fe0458e32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123584
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/gbuild/platform/filter-creatingLibrary.awk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/filter-creatingLibrary.awk b/solenv/gbuild/platform/filter-creatingLibrary.awk index 5b3335ce8724..231609feb2d5 100755 --- a/solenv/gbuild/platform/filter-creatingLibrary.awk +++ b/solenv/gbuild/platform/filter-creatingLibrary.awk @@ -13,15 +13,27 @@ BEGIN { creatinglibrary_prefix = ENVIRON["CREATINGLIBRARY_PREFIX"]; + generatingcode_message = ENVIRON["GENERATINGCODE_MESSAGE"]; + finishedgeneratingcode_message = ENVIRON["FINISHEDGENERATINGCODE_MESSAGE"]; if (!creatinglibrary_prefix) { creatinglibrary_prefix = "\\.lib.*\\.exp" } + if (!generatingcode_message) { + generatingcode_message = "Generating code" + } + if (!finishedgeneratingcode_message) { + finishedgeneratingcode_message = "Finished generating code" + } firstline = 1 } { if (firstline && match($0, creatinglibrary_prefix)) { # ignore + } else if (match($0, generatingcode_message)) { + # ignore + } else if (match($0, finishedgeneratingcode_message)) { + # ignore } else { # because MSVC stupidly prints errors on stdout, it's # necessary to forward everything that isn't matched by the pattern |