Skip to content
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

Add ARM target support for Windows in clang-cl toolchain #5998

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

ifarbod
Copy link
Contributor

@ifarbod ifarbod commented Dec 21, 2024

As discussed in #5980 - I added support for building ARM, ARM64, and ARM64EC for Clang Cl toolchain.

With VS 2022 and LLVM installed on a Windows host, previously, only x86/x64 worked.

  • xmake f -c -p windows -a x86 -m debug --toolchain=clang-cl && xmake -rvD
  • xmake f -c -p windows -a x64 -m debug --toolchain=clang-cl && xmake -rvD

These ones used to fail, but they're fixed by this PR:

  • xmake f -c -p windows -a arm -m debug --toolchain=clang-cl && xmake -rvD
  • xmake f -c -p windows -a arm64 -m debug --toolchain=clang-cl && xmake -rvD
  • xmake f -c -p windows -a arm64ec -m debug --toolchain=clang-cl && xmake -rvD

@waruqi waruqi merged commit c2d7c1d into xmake-io:dev Dec 24, 2024
19 checks passed
@waruqi waruqi added this to the v2.9.8 milestone Dec 24, 2024
@ifarbod ifarbod deleted the feature/clang-cl-arm-support branch December 24, 2024 13:39
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