From f0d24e3574eaac8ac8ef2600bc0f38e2b3cc8bda Mon Sep 17 00:00:00 2001 From: Dennis Brakhane Date: Tue, 5 Aug 2025 14:44:07 +0200 Subject: [PATCH] gh actions: no LTO for PR verification (#1197) IPO/LTO increases link time significantly; we want PR checks to finish as quickly as possible and we don't really care about the performance of the result, so disable it. Nightly builds will still use IPO --- .github/workflows/build-pr.yml | 2 +- .github/workflows/build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 478eb181f..d04d57bf6 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -110,7 +110,7 @@ jobs: - name: Initial compile run: | - CC=${{ matrix.cc }} CXX=${{ matrix.cxx }} cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache + CC=${{ matrix.cc }} CXX=${{ matrix.cxx }} cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DWICKED_USE_IPO=NO make -C build -j$(nproc) - name: Generate shader dump diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c9f42215..529a3cb59 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -114,7 +114,7 @@ jobs: run: | mkdir build cd build - cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache + cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DWICKED_USE_IPO=NO make -j$(nproc) - name: Generate shader dump run: |