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:
@@ -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
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user