[llvm] [Release] Build default target during Phase 1 and 2 on AIX (PR #81009)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 07:47:17 PST 2024


================
@@ -528,11 +528,11 @@ function build_llvmCore() {
     LitVerbose="-v"
 
     InstallTarget="install"
-    if [ "$Phase" -lt "3" ]; then
+    # compiler-rt builtins is needed on AIX to have a functional Phase 1 clang.
+    if [ "$Phase" -lt "3" ] && [ "$System" != "AIX" ]; then
----------------
azhan92 wrote:

Yes, this is more of a temporary solution for now since I'm still not sure why the original code is skipping the compiler-rt build during phase 1. Once I've investigated the problem more I'll update the fix. 

https://github.com/llvm/llvm-project/pull/81009


More information about the llvm-commits mailing list