@@ -4,6 +4,7 @@ parameters:
44 DoPGOARM64 : true
55 DoFreethreaded : false
66 ToBeSigned : false
7+ DoTailcalling : false
78 ExtraOptions : ' '
89 ExtraOptionsFreethreaded : ' --disable-gil'
910
7172 Platform : x64
7273 Configuration : Release
7374 _HostPython : .\python
74- ExtraOptions : ${{ parameters.ExtraOptions }}
75+ ExtraOptions : ${{ parameters.ExtraOptions }}${{ if eq(parameters.DoTailcalling, 'true') }} ' --tail-call-interp'
7576 ${{ if eq(parameters.ToBeSigned, 'true') }} :
7677 Artifact : unsigned_amd64
7778 ${{ else }} :
@@ -131,7 +132,7 @@ jobs:
131132 Platform : x64
132133 Configuration : Release
133134 _HostPython : .\python
134- ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }}
135+ ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }}${{ if eq(parameters.DoTailcalling, 'true') }} ' --tail-call-interp'
135136 ${{ if eq(parameters.ToBeSigned, 'true') }} :
136137 Artifact : unsigned_amd64_t
137138 ${{ else }} :
@@ -185,7 +186,7 @@ jobs:
185186 Platform : x64
186187 _HostPython : .\python
187188 PythonExePattern : python.exe
188- ExtraOptions : ${{ parameters.ExtraOptions }}
189+ ExtraOptions : ${{ parameters.ExtraOptions }}${{ if eq(parameters.DoTailcalling, 'true') }} ' --tail-call-interp'
189190 ${{ if eq(parameters.ToBeSigned, 'true') }} :
190191 Artifact : unsigned_amd64
191192 ${{ else }} :
@@ -197,7 +198,7 @@ jobs:
197198 Platform : x64
198199 _HostPython : .\python
199200 PythonExePattern : python3*t.exe
200- ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }}
201+ ExtraOptions : ${{ parameters.ExtraOptionsFreethreaded }}${{ if eq(parameters.DoTailcalling, 'true') }} ' --tail-call-interp'
201202 ${{ if eq(parameters.ToBeSigned, 'true') }} :
202203 Artifact : unsigned_amd64_t
203204 ${{ else }} :
0 commit comments