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

cryptopp: Apply ARM fix on MSVC #26208

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

AbrilRBS
Copy link
Member

@AbrilRBS AbrilRBS commented Dec 16, 2024

Summary

Changes to recipe: cryptopp/[8.9.0]

Motivation

Closes #26205, see there for discussion and reasonale

Note that we might want to backport this fix for other versions too, but will check with the team if we want to support old configurations that upstream would have not been able to test either way

Details

Upstream fixed asm usage for MSVC in arm archs in abdes/cryptopp-cmake@1940cc0, this patch backports it

Note that as described in the issue, I locally get compilation errors unless I define CRYPTOPP_ARM_ACLE_HEADER to 0, which seems to be unrealted (TODO: Link upstream issue for traceability). Will leave this as draft at first until we decide if that can go in a different PR, if any

Successful compilation logs: (With the extra -DCRYPTOPP_ARM_ACLE_HEADER=0)

successful_ninja_arm.log

@AbrilRBS AbrilRBS marked this pull request as ready for review December 19, 2024 09:34
Copy link
Member Author

Choose a reason for hiding this comment

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

Changed so it's git apply-able

recipes/cryptopp/all/conanfile.py Show resolved Hide resolved
Copy link
Member Author

Choose a reason for hiding this comment

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

Had to change the file so versions were exported (Issue already tracked internally), so took the chance to clean it up - I was tempted to remove old versions but decided not to in the end

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.

[package] cryptopp/8.9.0: Building with MSVC for ARM attempts to compile the intel only file rdrand.asm
1 participant