Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions windows-release/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ parameters:
displayName: "Include free-threaded builds (3.13 and later)"
type: boolean
default: true
- name: DoJIT
displayName: "Build the JIT compiler (3.14 and later)"
type: boolean
default: false
- name: DoJITEnabled
displayName: "Enable the JIT compiler by default (not used yet)"
type: boolean
default: false
- name: DoJITFreethreaded
displayName: "Build the JIT compiler for free-threaded builds (not used yet)"
type: boolean
default: false
Comment thread
zooba marked this conversation as resolved.
Outdated
- name: DoARM64
displayName: "Publish ARM64 build (3.11 and later)"
type: boolean
Expand Down Expand Up @@ -137,6 +149,9 @@ stages:
- template: stage-build.yml
parameters:
DoFreethreaded: ${{ parameters.DoFreethreaded }}
DoJIT: ${{ parameters.DoJIT }}
DoJITEnabled: ${{ parameters.DoJITEnabled }}
DoJITFreethreaded: ${{ parameters.DoJITFreethreaded }}
DoPGO: ${{ parameters.DoPGO }}
DoPGOARM64: ${{ parameters.DoPGOARM64 }}
${{ if and(parameters.SigningCertificate, ne(parameters.SigningCertificate, 'Unsigned')) }}:
Expand Down
129 changes: 111 additions & 18 deletions windows-release/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ parameters:
DoPGOARM64: true
DoFreethreaded: false
ToBeSigned: false
DoJIT: false
DoJITEnabled: false
DoJITFreethreaded: false

jobs:
- job: Build_Docs
Expand Down Expand Up @@ -52,7 +55,12 @@ jobs:
Platform: x86
Configuration: Release
_HostPython: .\python
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
Comment thread
zooba marked this conversation as resolved.
Outdated
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_win32
${{ else }}:
Expand All @@ -63,7 +71,12 @@ jobs:
Platform: x86
Configuration: Debug
_HostPython: .\python
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
Artifact: bin_win32_d
${{ if ne(parameters.DoPGO, 'true') }}:
amd64:
Expand All @@ -72,7 +85,12 @@ jobs:
Platform: x64
Configuration: Release
_HostPython: .\python
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_amd64
${{ else }}:
Expand All @@ -83,7 +101,12 @@ jobs:
Platform: x64
Configuration: Debug
_HostPython: .\python
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
Artifact: bin_amd64_d
${{ if or(ne(parameters.DoPGO, 'true'), ne(parameters.DoPGOARM64, 'true')) }}:
arm64:
Expand All @@ -92,7 +115,12 @@ jobs:
Platform: ARM64
Configuration: Release
_HostPython: python
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_arm64
${{ else }}:
Expand All @@ -103,7 +131,12 @@ jobs:
Platform: ARM64
Configuration: Debug
_HostPython: python
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
Artifact: bin_arm64_d
${{ if eq(parameters.DoFreethreaded, 'true') }}:
win32_t:
Expand All @@ -112,7 +145,12 @@ jobs:
Platform: x86
Configuration: Release
_HostPython: .\python
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_win32_t
${{ else }}:
Expand All @@ -123,7 +161,12 @@ jobs:
Platform: x86
Configuration: Debug
_HostPython: .\python
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
Artifact: bin_win32_td
${{ if ne(parameters.DoPGO, 'true') }}:
amd64_t:
Expand All @@ -132,7 +175,12 @@ jobs:
Platform: x64
Configuration: Release
_HostPython: .\python
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_amd64_t
${{ else }}:
Expand All @@ -143,7 +191,12 @@ jobs:
Platform: x64
Configuration: Debug
_HostPython: .\python
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
Artifact: bin_amd64_td
${{ if or(ne(parameters.DoPGO, 'true'), ne(parameters.DoPGOARM64, 'true')) }}:
arm64_t:
Expand All @@ -152,7 +205,12 @@ jobs:
Platform: ARM64
Configuration: Release
_HostPython: python
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_arm64_t
${{ else }}:
Expand All @@ -163,7 +221,12 @@ jobs:
Platform: ARM64
Configuration: Debug
_HostPython: python
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
Artifact: bin_arm64_td

steps:
Expand All @@ -188,7 +251,12 @@ jobs:
Platform: x64
_HostPython: .\python
PythonExePattern: python.exe
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_amd64
${{ else }}:
Expand All @@ -200,7 +268,12 @@ jobs:
Platform: x64
_HostPython: .\python
PythonExePattern: python3*t.exe
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_amd64_t
${{ else }}:
Expand Down Expand Up @@ -233,7 +306,12 @@ jobs:
arm64:
Name: arm64
PythonExePattern: python.exe
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_arm64
${{ else }}:
Expand All @@ -242,7 +320,12 @@ jobs:
arm64_t:
Name: arm64_t
PythonExePattern: python3*t.exe
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_arm64_t
${{ else }}:
Expand Down Expand Up @@ -313,7 +396,12 @@ jobs:
arm64:
Name: arm64
PythonExePattern: python.exe
ExtraOptions: ''
${{ if ne(parameters.DoJIT, 'true') }}:
ExtraOptions: ''
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--experimental-jit-off'
${{ else }}:
ExtraOptions: '--experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_arm64
${{ else }}:
Expand All @@ -322,7 +410,12 @@ jobs:
arm64_t:
Name: arm64_t
PythonExePattern: python3*t.exe
ExtraOptions: --disable-gil
${{ if or(ne(parameters.DoJIT, 'true'), ne(parameters.DoJITFreethreaded, 'true')) }}:
ExtraOptions: '--disable-gil'
${{ elseif ne(parameters.DoJITEnabled, 'true') }}:
ExtraOptions: '--disable-gil --experimental-jit-off'
${{ else }}:
ExtraOptions: '--disable-gil --experimental-jit'
${{ if eq(parameters.ToBeSigned, 'true') }}:
Artifact: unsigned_arm64_t
${{ else }}:
Expand Down
Loading