Skip to content

Conversation

@huangqinjin
Copy link
Contributor

No description provided.

@BillyONeal
Copy link
Member

As far as I can tell "vcvarsarm64_arm.bat" does not exist. Can you show what this fixes?

@huangqinjin
Copy link
Contributor Author

At least it exists in latest MSVC toolchain.
Screenshot_20250509_095450.jpg

@huangqinjin
Copy link
Contributor Author

As far as I can tell "vcvarsarm64_arm.bat" does not exist. Can you show what this fixes?

Trying to install arm-windows packages on the new windows-11-arm github runners failed.
Screenshot_20250509_100259.jpg

@BillyONeal
Copy link
Member

At least it exists in latest MSVC toolchain.

Hmmmm can you show what boxes you checked in the VS installer? (I grepped the entire Visual Studio sources and did not see arm64_arm.bat anywhere)

@huangqinjin
Copy link
Contributor Author

huangqinjin commented May 10, 2025

At least it exists in latest MSVC toolchain.

Hmmmm can you show what boxes you checked in the VS installer? (I grepped the entire Visual Studio sources and did not see arm64_arm.bat anywhere)

I don't have a WoA PC on hand, so I didn't use VS installer.

I use https://github.com/mstorsjo/msvc-wine to download MSVC toolchain on github windows-11-arm runners. vcvarsarm64_arm.bat is from package Microsoft.VisualCpp.Tools.HostARM64.TargetARM, which is a dependency of Microsoft.VisualStudio.Component.VC.Tools.ARM on ARM64 host.

I also checked the windows-11-arm runners, C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsarm64_arm.bat does exist.

@BillyONeal
Copy link
Member

I don't have a WoA PC on hand

I don't either, that's part of the problem. :/ We need to understand how we can verify the correctness of this before we can merge it.

I use https://github.com/mstorsjo/msvc-wine to download MSVC toolchain on github windows-11-arm runners. vcvarsarm64_arm.bat is from package Microsoft.VisualCpp.Tools.HostARM64.TargetARM, which is a dependency of Microsoft.VisualStudio.Component.VC.Tools.ARM on ARM64 host.

Hmmmm I see Microsoft.VisualCpp.Tools.HostARM64.TargetARM referenced but not where it comes from :(

...

Nevermind, this stuff was in another repo:

image

@BillyONeal
Copy link
Member

Thanks!

@BillyONeal BillyONeal merged commit e4f8eff into microsoft:main May 12, 2025
7 checks passed
@huangqinjin huangqinjin deleted the vcvarsarm64_arm branch May 12, 2025 23:31
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.

2 participants