================ @@ -935,6 +935,14 @@ ToolChain::getTargetSubDirPath(StringRef BaseDir) const { if (auto Path = getPathForTriple(T)) return *Path; + // On AIX, the environment component is not used in the target sub dir name. ---------------- jakeegan wrote:
`getTripleWithoutOSVersion` seems to preserve the trailing -unknown component. I considered modifying it to strip that too, but that would do more than what the name of the function implies. I could add `T.isOSAIX()` to that block as you said if we're fine with modifying `getTripleWithoutOSVersion` to strip `-unknown` too. https://github.com/llvm/llvm-project/pull/140850 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits