Skip to content

Commit 8699afc

Browse files
committed
Add BOLT support to reusable Ubuntu workflow
1 parent d906bde commit 8699afc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: .github/workflows/reusable-ubuntu.yml

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
required: false
1212
type: boolean
1313
default: false
14+
bolt-optimizations:
15+
description: Whether to enable BOLT optimizations
16+
required: false
17+
type: boolean
18+
default: false
1419
os:
1520
description: OS to run the job
1621
required: true
@@ -81,6 +86,7 @@ jobs:
8186
--enable-safety
8287
--with-openssl="$OPENSSL_DIR"
8388
${{ fromJSON(inputs.free-threading) && '--disable-gil' || '' }}
89+
${{ fromJSON(inputs.bolt-optimizations) && '--enable-bolt' || '' }}
8490
- name: Build CPython out-of-tree
8591
if: ${{ inputs.free-threading }}
8692
working-directory: ${{ env.CPYTHON_BUILDDIR }}

0 commit comments

Comments
 (0)