[cpuinfo] Fix cpuid-dump is not generated with x86-windows#24726
[cpuinfo] Fix cpuid-dump is not generated with x86-windows#24726Cheney-W wants to merge 2 commits intomicrosoft:masterfrom
Conversation
|
Can you explain what this patch does? Has upstream been notified? (Normally I wouldn't have questions like that about what look like relatively simple build system changes, but this port is literally |
|
I added this patch to make following part set in portfile.cmake take effect in cmakelist.txt of source: If the target is windows, But CMakeLists.txt of source have following content: If cpuinfo install with x86-windows, the value of This is also the reason why
Because there is no documentation that |
Submitted upstream as pytorch/cpuinfo#93 Resolves microsoft#24713 Competing resolution of microsoft#24726
|
@LilyWangLL My point about upstream needing to be involved stands. However, I did my own digging here and am proposing a competing resolution here, which upstream has already OK'd: #25258 |
|
Dup to #25258 |
Submitted upstream as pytorch/cpuinfo#93 Resolves #24713 Competing resolution of #24726
Describe the pull request
What does your PR fix?
Fixes [cpuinfo] Build error #24713