Skip to content

Commit 204029f

Browse files
authored
Merge pull request #343 from Fidget-Spinner/full_lto
Use full LTO for all builds
2 parents 643d6a1 + ea4863f commit 204029f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bench_runner/templates/_benchmark.src.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211
if: ${{ steps.should_run.outputs.should_run != 'false' }}
212212
run: |
213213
cd cpython
214-
./configure ${{ inputs.pgo == true && '--enable-optimizations --with-lto=yes' || '' }} ${{ inputs.tier2 == true && '--enable-experimental-jit=interpreter' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit=yes' || '' }} ${{ inputs.nogil == true && '--disable-gil' || '' }}
214+
./configure ${{ inputs.pgo == true && '--enable-optimizations --with-lto=full' || '' }} ${{ inputs.tier2 == true && '--enable-experimental-jit=interpreter' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit=yes' || '' }} ${{ inputs.nogil == true && '--disable-gil' || '' }}
215215
make ${{ runner.arch == 'ARM64' && '-j' || '-j4' }}
216216
./python -VV
217217
- name: Install pyperformance
@@ -320,7 +320,7 @@ jobs:
320320
if: ${{ steps.should_run.outputs.should_run != 'false' }}
321321
run: |
322322
cd cpython
323-
./configure ${{ inputs.pgo == true && '--enable-optimizations --with-lto=yes' || '' }} ${{ inputs.tier2 == true && '--enable-experimental-jit=interpreter' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit=yes' || '' }} ${{ inputs.nogil == true && '--disable-gil' || '' }}
323+
./configure ${{ inputs.pgo == true && '--enable-optimizations --with-lto=full' || '' }} ${{ inputs.tier2 == true && '--enable-experimental-jit=interpreter' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit=yes' || '' }} ${{ inputs.nogil == true && '--disable-gil' || '' }}
324324
make -j4
325325
./python.exe -VV
326326
# On macos ARM64, actions/setup-python isn't available, so we rely on a

0 commit comments

Comments
 (0)