From 8ab32ea86dbb3c07936d1758cab72cf5edaa6e34 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 10 Jan 2024 15:32:21 +0100 Subject: [PATCH] [ci] Ignore warning lto-wrapper. --- scripts/ci/extends/template-build-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/extends/template-build-linux.yml b/scripts/ci/extends/template-build-linux.yml index d7475ed0c36..b6242a809a4 100644 --- a/scripts/ci/extends/template-build-linux.yml +++ b/scripts/ci/extends/template-build-linux.yml @@ -110,5 +110,5 @@ fi - | if [[ "$CHECK_WARNINGS" = true ]] ; then - if [[ $(cat $log_file | grep warning -i | grep -v 'was built for newer macOS version' | grep -v 'WARNING: no license files found' | grep -v 'WARNING: multiple license files found' | grep -v 'means the weak symbol cannot be overridden at runtime') ]]; then printf 'There were compiler warnings:\n\n'; cat $log_file | grep warning -i | grep -v 'was built for newer macOS version' | grep -v 'WARNING: no license files found' | grep -v 'WARNING: multiple license files found' | grep -v 'means the weak symbol cannot be overridden at runtime'; exit 1; fi + if [[ $(cat $log_file | grep warning -i | grep -v 'was built for newer macOS version' | grep -v 'WARNING: no license files found' | grep -v 'WARNING: multiple license files found' | grep -v 'means the weak symbol cannot be overridden at runtime' | grep -v 'lto-wrapper: warning:') ]]; then printf 'There were compiler warnings:\n\n'; cat $log_file | grep warning -i | grep -v 'was built for newer macOS version' | grep -v 'WARNING: no license files found' | grep -v 'WARNING: multiple license files found' | grep -v 'means the weak symbol cannot be overridden at runtime' | grep -v 'lto-wrapper: warning:'; exit 1; fi fi -- GitLab