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
MSBuildDeps: map armv8 to ARM64 platform (#11504) #11505
Conversation
Needs a testcase... |
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.
Thanks for contributing.
Better please add the full one:
{"x86": "Win32",
"x86_64": "x64",
"armv7": "ARM",
"armv8": "ARM64"}.get(...)
There is an instance of this in CMakeToolchain
, maybe we should factorize it (but that can be done later, just focus on getting this right).
For tests, it is enough to add an integration
test, don't hesitate to ask for guidance if you need it.
Yup, seems beyond a reasonable refactoring threshold:
|
conan/tools/microsoft/msbuilddeps.py
Outdated
@@ -12,6 +12,13 @@ | |||
VALID_LIB_EXTENSIONS = (".so", ".lib", ".a", ".dylib", ".bc") | |||
|
|||
|
|||
def msbuild_arch(arch): | |||
return {'x86': 'x86', |
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.
return {'x86': 'x86', | |
return {'x86': 'Win32', |
I think this is the right one, and the reason the unit test is failing
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.
🤦
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.
You also need to check the CLA signing above, please
e90c2e3
to
37aa6ad
Compare
Testcase to follow. |
Will pick this up again on Monday |
Something like this fd48992? |
Yes, looks good! |
Yes, don't worry, already merged, it will be in 1.50. |
Changelog: Feature: map
armv8
arch toARM64
MSBuild platform in MSBuildDeps generator.Docs: Omit
develop
branch, documenting this one.Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.