Skip to content

Commit 0ebcdb9

Browse files
committed
Adds arch input parameter to build workflow
Enables targeting specific compute capabilities during the build process by adding an optional arch parameter to the workflow inputs. This provides more granular control over the build configuration while maintaining backward compatibility with the existing default behavior.
1 parent 0594911 commit 0ebcdb9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ on:
3333
description: "Upload wheel to this release"
3434
required: false
3535
type: string
36+
arch:
37+
description: "Target a single compute capability. Leave empty to use project default"
38+
required: false
39+
type: string
3640

3741
jobs:
3842
build-wheels:
@@ -45,3 +49,4 @@ jobs:
4549
cxx11_abi: ${{ inputs.cxx11_abi }}
4650
upload-to-release: ${{ inputs.upload-to-release }}
4751
release-version: ${{ inputs.release-version }}
52+
arch: ${{ inputs.arch }}

0 commit comments

Comments
 (0)