On AIX, the default arch level should match the minimum supported arch level of the OS version.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/CommonArgs.cpp | ||
---|---|---|
405 | major == 7 should this be major <= 7 ? Or else, we may get pwr7 for AIX 5.1. |
clang/lib/Driver/ToolChains/CommonArgs.cpp | ||
---|---|---|
405 | That's a great idea. Although I think we'd need to change major == 7 && minor < 2 to major < 7 || minor < 2 to also handle 4.3 and 5.3 properly. Let me know if you have further comments. |
clang/lib/Driver/ToolChains/CommonArgs.cpp | ||
---|---|---|
403 | Sorry I missed this comment. I agree that the unused micro is a bit ugly, do you have a preference on how you'd like it to be improved? We don't have an existing query for only major and minor, and creating one seems unnecessary IMHO. If you think renaming the variable to unused_micro mitigates the problem, I can do that. |
clang/lib/Driver/ToolChains/CommonArgs.cpp | ||
---|---|---|
403 | That's ok to me |
micro unsed.