[llvm] [Release] Install compiler-rt builtins during Phase 1 on AIX (PR #81485)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 06:40:49 PST 2024


https://github.com/azhan92 created https://github.com/llvm/llvm-project/pull/81485

The current test-release.sh script does not install the necessary compiler-rt builtin's during Phase 1 on AIX, resulting on a non-function Phase 1 clang. 

>From 660ba3fc552d95eb77d078d98a9684e4bf5d71cd Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonxzhang at gmail.com>
Date: Mon, 12 Feb 2024 14:35:06 +0000
Subject: [PATCH] Update install target

---
 llvm/utils/release/test-release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 5b1945df47d24a..e1dc6e62002393 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -534,7 +534,7 @@ function build_llvmCore() {
       # compiler-rt builtins is needed on AIX to have a functional Phase 1 clang.
       if [ "$System" = "AIX" -o "$Phase" != "1" ]; then
         BuildTarget="$BuildTarget runtimes"
-        InstallTarget="$InstallTarget install-runtimes"
+        InstallTarget="$InstallTarget install-runtimes install-builtins"
       fi
     fi
 



More information about the llvm-commits mailing list