Skip to content

[directxmath] Update for April 2025 release #44839

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

Merged
merged 14 commits into from
Apr 8, 2025

Conversation

walbourn
Copy link
Member

@walbourn walbourn commented Apr 5, 2025

Minor library release which primarily includes optional XDSP and SHMath libraries expressed as features:

  • xdsp - adds the XDSP.h header
  • dx11 - Adds SHMath library with support for DirectX 11
  • dx12 - Adds SHMath library with support for DirectX 12

@Mengna-Li Mengna-Li requested review from LilyWangLL and removed request for LilyWangLL April 7, 2025 01:26
@LilyWangLL LilyWangLL added the category:port-update The issue is with a library, which is requesting update new revision label Apr 7, 2025
@walbourn walbourn marked this pull request as ready for review April 8, 2025 00:40
@walbourn walbourn marked this pull request as draft April 8, 2025 01:04
@walbourn walbourn marked this pull request as ready for review April 8, 2025 06:16
@walbourn
Copy link
Member Author

walbourn commented Apr 8, 2025

Verified triplets and features:

.\vcpkg install directxmath:x86-windows
.\vcpkg install directxmath[xdsp]:x86-windows --recurse
.\vcpkg install directxmath[dx11]:x86-windows --recurse
.\vcpkg install directxmath[dx12]:x86-windows --recurse

.\vcpkg install directxmath:x86-windows-static
.\vcpkg install directxmath[dx11,dx12]:x86-windows-static --recurse

.\vcpkg install directxmath:x86-windows-static-md
.\vcpkg install directxmath[dx11,dx12]:x86-windows-static-md --recurse
.\vcpkg install directxmath:x64-windows
.\vcpkg install directxmath[xdsp]:x64-windows --recurse
.\vcpkg install directxmath[dx11]:x64-windows --recurse
.\vcpkg install directxmath[dx12]:x64-windows --recurse

.\vcpkg install directxmath:x64-windows-static
.\vcpkg install directxmath[dx11,dx12]:x64-windows-static --recurse

.\vcpkg install directxmath:x64-windows-static-md
.\vcpkg install directxmath[dx11,dx12]:x64-windows-static-md --recurse
.\vcpkg install directxmath:arm64-windows
.\vcpkg install directxmath[xdsp]:arm64-windows --recurse
.\vcpkg install directxmath[dx11]:arm64-windows --recurse
.\vcpkg install directxmath[dx12]:arm64-windows --recurse

.\vcpkg install directxmath:arm64-windows-static
.\vcpkg install directxmath[dx11,dx12]:arm64-windows-static --recurse

.\vcpkg install directxmath:arm64-windows-static-md
.\vcpkg install directxmath[dx11,dx12]:arm64-windows-static-md --recurse
.\vcpkg install directxmath:x86-uwp
.\vcpkg install directxmath[xdsp]:x86-uwp --recurse
.\vcpkg install directxmath[dx11]:x86-uwp --recurse
.\vcpkg install directxmath[dx12]:x86-uwp --recurse

.\vcpkg install directxmath:x64-uwp
.\vcpkg install directxmath[xdsp]:x64-uwp --recurse
.\vcpkg install directxmath[dx11]:x64-uwp --recurse
.\vcpkg install directxmath[dx12]:x64-uwp --recurse

.\vcpkg install directxmath:arm64-uwp
.\vcpkg install directxmath[xdsp]:arm64-uwp --recurse
.\vcpkg install directxmath[dx11]:arm64-uwp --recurse
.\vcpkg install directxmath[dx12]:arm64-uwp --recurse
.\vcpkg install directxmath:x64-mingw-static
.\vcpkg install directxmath[xdsp]:x64-mingw-static --recurse
.\vcpkg install directxmath[dx11]:x64-mingw-static --recurse
.\vcpkg install directxmath[dx12]:x64-mingw-static --recurse

.\vcpkg install directxmath:x86-mingw-static
.\vcpkg install directxmath[xdsp]:x86-mingw-static --recurse
.\vcpkg install directxmath[dx11]:x86-mingw-static --recurse
.\vcpkg install directxmath[dx12]:x86-mingw-static --recurse
./vcpkg install directxmath:x64-linux
./vcpkg install directxmath[xdsp]:x64-linux --recurse
./vcpkg install directxmath[dx12]:x64-linux --recurse

./vcpkg install directxmath:arm64-linux
./vcpkg install directxmath[xdsp]:arm64-linux --recurse
./vcpkg install directxmath[dx12]:arm64-linux --recurse
.\vcpkg install directxmath:x64-xbox-scarlett
.\vcpkg install directxmath[xdsp]:x64-xbox-scarlett --recurse
.\vcpkg install directxmath[dx12]:x64-xbox-scarlett --recurse

.\vcpkg install directxmath:x64-xbox-scarlett-static
.\vcpkg install directxmath[dx12]:x64-xbox-scarlett-static --recurse

.\vcpkg install directxmath:x64-xbox-xboxone
.\vcpkg install directxmath[xdsp]:x64-xbox-xboxone --recurse
.\vcpkg install directxmath[dx12]:x64-xbox-xboxone --recurse

.\vcpkg install directxmath:x64-xbox-xboxone-static
.\vcpkg install directxmath[dx12]:x64-xbox-xboxone-static --recurse

Note that xdsp is like the core feature which is header only. The dx11 and dx12 features create a C++ static library, which is why I tested those features both with and without -static.

@walbourn
Copy link
Member Author

walbourn commented Apr 8, 2025

Both patches here are going into the mainline in this PR: microsoft/DirectXMath#246

Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

@BillyONeal BillyONeal merged commit 2528005 into microsoft:master Apr 8, 2025
18 checks passed
@walbourn walbourn deleted the dxmathapr2025 branch April 9, 2025 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants