================
@@ -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.
----------------
DanielCChen wrote:

I think it is correct that the `-unknown` is NOT stripped. I built `flang-rt` 
with `-DLLVM_DEFAULT_TARGET_TRIPLE=powerpc64-ibm-aix-unknown \`, 
`libflang_rt.runtime.a` is published to 
`./lib/clang/21/lib/powerpc64-ibm-aix-unknown/libflang_rt.runtime.a`. which is 
expected. 
The test cases should be changed to remove the `-unknown` part of add a 
separate dir for that specific testing.

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

Reply via email to