GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI: Add support for building NumPy with LLVM for Win-ARM64 by MugundanMCW · Pull Request #29215 · numpy/numpy

Conversation

@MugundanMCW

@MugundanMCW MugundanMCW commented Jun 17, 2025

Copy link
Copy Markdown
Contributor

Reference issue
Closes: #29174

What does this implement/fix?
Enables new CI environment for building & validating NumPy for Win-ARM64 using LLVM toolchain.

Additional information

  • The PR introduces setting up a new CI environment for building and testing NumPy locally for Win-ARM64 under windows.yml.
  • Additionally, the patch updates the wheels.yml for Win-ARM64 to build NumPy using LLVM's clang-cl.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
MugundanMCW added 5 commits June 17, 2025 16:09
@MugundanMCW
CI: Add WoA validation setup to windows.yml
aea8869
@MugundanMCW
CI: Create action.yml for LLVM Win-ARM64 as reusable blocks
d8c4f2b
@MugundanMCW
CI: Modify wheel.yml to use clang-cl for Win-ARM64
f02bb58
@MugundanMCW
CI: fix action.yml naming
fb0dff6
@MugundanMCW
CI: Fix reusable LLVM block
f36c0da
@Mousius
Mousius requested a review from Copilot June 17, 2025 16:24
Copilot AI reviewed Jun 17, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new CI environment to support building NumPy for Win-ARM64 using the LLVM toolchain. It introduces a new job in windows.yml for ARM64 builds, updates wheels.yml to use the new LLVM setup, and provides an action in windows_arm64_steps for installing LLVM.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/windows.yml Added a new ARM64 build job and steps for both MSVC and Clang-cl configurations
.github/workflows/wheels.yml Updated the ARM64 setup step to use the new LLVM action
.github/windows_arm64_steps/action.yml Introduces a composite action to install LLVM for Win-ARM64 builds

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/windows_arm64_steps/action.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/workflows/windows.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@Mousius

Mousius commented Jun 17, 2025

Copy link
Copy Markdown
Member

@rgommers can I trigger the wheel build on this PR? I forgot the incantation.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rgommers

rgommers commented Jun 17, 2025

Copy link
Copy Markdown
Member

@rgommers can I trigger the wheel build on this PR? I forgot the incantation.

You can by pushing a commit with [wheel build] on the first line, but you'll be running the full matrix of 66 jobs then. It's better practice to check out this branch, add a commit removing the relevant if: and needs: conditions and then push it to your own fork to run just the relevant jobs. Example: 8981b65

Mousius reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MugundanMCW

MugundanMCW commented Jun 18, 2025

Copy link
Copy Markdown
Contributor Author

@rgommers Please let me know if there are any changes needs to be applied in this patch

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Mousius
Mousius requested changes Jun 18, 2025
View reviewed changes

@Mousius Mousius left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@MugundanMCW can you make the hash check change that Copilot suggested, I'm less worried about the reformatting.

Otherwise https://github.com/Mousius/numpy/actions/runs/15731514222/job/44333523611 looks good to me, tests passing etc.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

MugundanMCW reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@MugundanMCW
CI: Add conditions to check hash of LLVM package
b6a6740
@MugundanMCW
MugundanMCW requested a review from Mousius June 18, 2025 12:46
Mousius
Mousius approved these changes Jun 18, 2025
View reviewed changes

@Mousius Mousius left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looks good to me, thanks for this @MugundanMCW.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

MugundanMCW reacted with heart emoji MugundanMCW reacted with rocket emoji
All reactions
  • ❤️ 1 reaction
  • 🚀 1 reaction
@Mousius
Mousius merged commit 823287c into numpy:main Jun 18, 2025
@rgommers rgommers added the component: CI label Jun 19, 2025
@rgommers rgommers added this to the 2.4.0 release milestone Jun 19, 2025
@rgommers rgommers added the 09 - Backport-Candidate PRs tagged should be backported label Jun 19, 2025
@rgommers

rgommers commented Jun 19, 2025

Copy link
Copy Markdown
Member

Thanks! Adding the backport label, I think that's warranted both because of the performance improvement and because we'd be getting signal much faster from 2.3.1 than from 2.4.0 in case anything is wrong. Cc @charris

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@charris charris mentioned this pull request Jun 19, 2025
CI: Add support for building NumPy with LLVM for Win-ARM64 #29238
Merged
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 19, 2025
@mattip mattip mentioned this pull request Jul 2, 2025
BLD: remove unused github workflow #29312
Merged
@hmaarrfk hmaarrfk mentioned this pull request Aug 3, 2025
CI: Add support for building wheels for Windows on ARM scikit-image/scikit-image#7847
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@Mousius Mousius Mousius approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

component: CI

Projects

None yet

Milestone

2.4.0 release

Development

Successfully merging this pull request may close these issues.

ENH: Provide NumPy Wheels for Windows on ARM Compiled with LLVM Toolchain

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@MugundanMCW @Mousius @rgommers @charris
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.