-
Notifications
You must be signed in to change notification settings - Fork 30
Add Windows ARM64 support #567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
guoxx
commented
Oct 12, 2025
- Adds CMake presets for the MSVC ARM64 toolchain.
- Updates setup.py to detect and configure for the ARM64 architecture.
- Makes warnings-as-errors optional to handle platform-specific warnings.
- Adjusts ci.py to recognize the new platform.
* Adds CMake presets for the MSVC ARM64 toolchain. * Updates setup.py to detect and configure for the ARM64 architecture. * Makes warnings-as-errors optional to handle platform-specific warnings. * Adjusts ci.py to recognize the new platform.
skallweitNV
left a comment
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.
LGTM, we should probably also add support for linux on arm64
As far as I know, ARM64 support for Linux is already in progress and actively discussed in issue #457. |
|
I noticed a code conflict with recent changes on the slangpy main branch. |
|
Hi @guoxx , please resolve the conflict in this PR and I can +1 again |
|
Hi @gtong-nv , I've resolved the conflict and verified it on the Windows ARM platform. Thank you for your guidance. |
jkwak-work
left a comment
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.
But I am not sure about the workaround for slang-llvm.dll on ARM64 Windows.
| # slang-llvm.dll is available in x64 prebuilt packages but not in ARM64 packages. | ||
| # Use conditional copy to support both architectures. | ||
| if(EXISTS ${SLANG_DIR}/bin/slang-llvm.dll) | ||
| sgl_copy_binary(${SLANG_DIR}/bin/slang-llvm.dll .) | ||
| endif() |
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.
I am not sure if this is still the case.
I think we fixed a problem similar to this recently.
shader-slang/slang#8580
@guoxx , can you re-test if it works without this workaround?
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.
I've checked the latest Slang Windows ARM release, and slang-llvm.dll is still not included in the build.