From 562b80cf69af8a54caedfc35716e76226262b19b Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Tue, 22 Oct 2024 09:27:25 -0700 Subject: [PATCH] ci/build: Do not do LTO on any pre-merge job Running LTO on pre-merge can be time-consuming, especially on (over)loaded CI. Let's keep it in nightly jobs to ensure coverage without causing timeouts in pre-merge pipelines. Signed-off-by: David Heidelberg Part-of: --- .gitlab-ci/meson/build.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci/meson/build.sh b/.gitlab-ci/meson/build.sh index bbe63e79c9b..91dff3cdeec 100755 --- a/.gitlab-ci/meson/build.sh +++ b/.gitlab-ci/meson/build.sh @@ -117,12 +117,7 @@ case $CI_PIPELINE_SOURCE in fi ;; *) - # run Fedora with LTO in pre-merge for now - if [ "$CI_JOB_NAME" == "fedora-release" ]; then - LTO=true - else - LTO=false - fi + LTO=false ;; esac