Skip to content

Conversation

@banach-space
Copy link
Contributor

This is required to build wheels for Arm.

This is required to build wheels for Arm.
@rengolin
Copy link
Member

rengolin commented Nov 7, 2025

Update README to add Arm in addition to x86 on description.

Copy link

@rolfmorel rolfmorel left a comment

Choose a reason for hiding this comment

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

LGTM -- it being a near carbon-copy of the x86 workflow makes sense to me (while suppressing a deep-seated need to deduplicate all the things) 👍

Comment on lines 9 to 15
# Ensure that only a single job or workflow using the same
# concurrency group will run at a time. This would cancel
# any in-progress jobs in the same github workflow and github
# ref (e.g. refs/heads/main or refs/pull/<pr_number>/merge).
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

Choose a reason for hiding this comment

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

Betraying my inexperience with Github workflows: this section and the scheduled time being the same for the x86 workflow won't conflict? I guess it depends on whether the "concurrency group" is shared or not.

Just thought to double check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IIUC, "concurrency" refers to ... concurrency with respect to one workflow config. Separate workflow configs are not affected by this. That's my understanding.

Tl;Dr This should not be a problem.

Choose a reason for hiding this comment

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

Makes sense -- thanks for explaining 👍

Choose a reason for hiding this comment

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

Do we want to rename the file as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've merged two files.

jobs:
build_linux:
name: Linux Arm Build
runs-on: ubuntu-24.04-arm
Copy link
Member

@sahas3 sahas3 Nov 7, 2025

Choose a reason for hiding this comment

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

Thanks for the change.

The steps here look identical to linux x86 (which makes sense) -- can we use strategy.matrix to run both architecture in a single CI to avoid duplication?

strategy:
  matrix:
    os: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}

A similar strategy is used to run the CI for different py versions on line 29.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For whatever reason I assumed that the runner cannot be specified via a matrix, but I think that I was wrong :) Please see the latest commit and thanks for nudging me in this direction.

@banach-space
Copy link
Contributor Author

(while suppressing a deep-seated need to deduplicate all the things) 👍

I was under the impression that the runner is fixed within a workflow file, but I think that I was wrong. In the latest revision I merged the two Workflow files.

@banach-space
Copy link
Contributor Author

ATM Ci is failing, but it doesn't look like an issue with this PR? Should we merge? Alternatively, could somebody run CI using this branch so that we test it? I don't have the write access :( Thanks

Copy link
Member

@marbre marbre left a comment

Choose a reason for hiding this comment

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

LGTM, I guess there was no test run triggered yet?

@@ -1,4 +1,4 @@
name: Build Release and Publish
name: Build Release and Publish (x86_64 + AArch64)
Copy link
Member

Choose a reason for hiding this comment

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

Names get rather long, let's maybe go with what we had before.

@banach-space
Copy link
Contributor Author

I guess there was no test run triggered yet?

No. I see no option in my fork to trigger it.

@rengolin
Copy link
Member

You need to merge to main to have it available on other branches as well. An issue on Github that doesn't have a good fix.

@sahas3
Copy link
Member

sahas3 commented Nov 11, 2025

You need to merge to main to have it available on other branches as well. An issue on Github that doesn't have a good fix.

Another option is to temporarily add a push trigger and push to your working branch. This makes the action available in github and will also run the CI on every push.

@marbre
Copy link
Member

marbre commented Nov 11, 2025

I think this is fine to merge and fix forward if needed. Let me know if you want to me to click the button

@banach-space
Copy link
Contributor Author

I think this is fine to merge and fix forward if needed. Let me know if you want to me to click the button

I have no write access for this repo, so please merge this for me, thanks!

@marbre marbre merged commit 0dddf63 into llvm:main Nov 12, 2025
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.

5 participants