File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ def _main(
30
30
)
31
31
sys .exit (1 )
32
32
33
+ if tier2 and jit :
34
+ print ("Tier 2 interpreter and JIT may not be selected at the same time" )
35
+ sys .exit (1 )
36
+
33
37
# Now that we've assert we are Python 3.11 or later, we can import
34
38
# parts of our library.
35
39
from bench_runner import git
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ jobs:
211
211
if : ${{ steps.should_run.outputs.should_run != 'false' }}
212
212
run : |
213
213
cd cpython
214
- ./configure ${{ inputs.pgo == true && '--enable-optimizations --with-lto=yes' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit' || '' }}
214
+ ./configure ${{ inputs.pgo == true && '--enable-optimizations --with-lto=yes' || '' }} ${{ inputs.tier2 == true && '--enable-experimental- jit=interpreter' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit=yes ' || '' }}
215
215
make -j4
216
216
- name : Install pyperformance
217
217
if : ${{ steps.should_run.outputs.should_run != 'false' }}
@@ -308,7 +308,7 @@ jobs:
308
308
if : ${{ steps.should_run.outputs.should_run != 'false' }}
309
309
run : |
310
310
cd cpython
311
- ./configure ${{ inputs.pgo == true && '--enable-optimizations --with-lto=yes' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit' || '' }}
311
+ ./configure ${{ inputs.pgo == true && '--enable-optimizations --with-lto=yes' || '' }} ${{ inputs.tier2 == true && '--enable-experimental- jit=interpreter' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit=yes ' || '' }}
312
312
make -j4
313
313
# On macos ARM64, actions/setup-python isn't available, so we rely on a
314
314
# pre-installed homebrew one, used through a venv
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ jobs:
109
109
if : ${{ steps.should_run.outputs.should_run != 'false' }}
110
110
run : |
111
111
cd cpython
112
- ./configure --enable-pystats --prefix=$PWD/install ${{ inputs.jit == true && '--enable-experimental-jit' || '' }}
112
+ ./configure --enable-pystats --prefix=$PWD/install ${{ inputs.tier2 == true && '--enable-experimental- jit=interpreter' || '' }} ${{ inputs.jit == true && '--enable-experimental-jit=yes ' || '' }}
113
113
make -j4
114
114
make install
115
115
- name : Install pyperformance into the system python
You can’t perform that action at this time.
0 commit comments