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
This commit is contained in:
Dennis Brakhane
2025-08-05 14:44:07 +02:00
committed by GitHub
parent 5fe1d12284
commit f0d24e3574
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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: |