Skip to content

Pass warp architecture through to lit configuration#1317

Merged
llvm-beanz merged 1 commit into
llvm:mainfrom
llvm-beanz:fix-warp-arch
Jun 17, 2026
Merged

Pass warp architecture through to lit configuration#1317
llvm-beanz merged 1 commit into
llvm:mainfrom
llvm-beanz:fix-warp-arch

Conversation

@llvm-beanz

Copy link
Copy Markdown
Collaborator

This passes the warp architecture through to the lit configurations so that the features are configured correctly.

@llvm-beanz llvm-beanz requested a review from bob80905 June 17, 2026 15:41
dxc_path="$GITHUB_WORKSPACE/dxc-dist/bin/dxc"
if [ -x "${dxc_path}.exe" ]; then dxc_path="${dxc_path}.exe"; fi
warp_arch_args=()
if [ '${{ inputs.OS }}' = 'windows' ]; then

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to check windows. If the user wants to pick warp windows should be assumed no?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the workflow we don't actually know that we're configuring for warp. It probably wouldn't harm anything to set this always (I just didn't trace through all the places where WARP_ARCHITECTURE might impact something). It also might be better to just have a more generalized way of feeding lit the host architecture, but I think that would be a bigger change.

@llvm-beanz llvm-beanz merged commit 833ae42 into llvm:main Jun 17, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants