Skip to content

Conversation

@guoxx
Copy link

@guoxx 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.

@guoxx guoxx requested a review from a team as a code owner October 12, 2025 06:25
@CLAassistant
Copy link

CLAassistant commented Oct 12, 2025

CLA assistant check
All committers have signed the CLA.

* 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.
Copy link
Contributor

@skallweitNV skallweitNV left a 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

@guoxx
Copy link
Author

guoxx commented Oct 21, 2025

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.

@guoxx
Copy link
Author

guoxx commented Nov 12, 2025

I noticed a code conflict with recent changes on the slangpy main branch.
Should I resolve it and update my current pull request, or would it be better to close this one, clean everything up based on the latest slangpy main branch, and then create a new pull request? Which option is preferable?

@gtong-nv
Copy link
Contributor

Hi @guoxx , please resolve the conflict in this PR and I can +1 again

@guoxx
Copy link
Author

guoxx commented Nov 13, 2025

Hi @gtong-nv , I've resolved the conflict and verified it on the Windows ARM platform. Thank you for your guidance.

Copy link
Contributor

@jkwak-work jkwak-work left a 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.

Comment on lines +165 to +169
# 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()
Copy link
Contributor

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?

Copy link
Author

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.

@guoxx guoxx requested a review from jkwak-work November 20, 2025 07:03
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