[llvm-branch-commits] [llvm] 159969b - [Release] Install compiler-rt builtins during Phase 1 on AIX (#81485)

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Mar 13 11:14:45 PDT 2024


Author: azhan92
Date: 2024-03-13T11:13:40-07:00
New Revision: 159969b3880b89fdd6ee262ccee6c74a5c79607a

URL: https://github.com/llvm/llvm-project/commit/159969b3880b89fdd6ee262ccee6c74a5c79607a
DIFF: https://github.com/llvm/llvm-project/commit/159969b3880b89fdd6ee262ccee6c74a5c79607a.diff

LOG: [Release] Install compiler-rt builtins during Phase 1 on AIX (#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-functional Phase 1 clang. Futhermore, the installation is also
necessary for Phase 2 on AIX.

Co-authored-by: Alison Zhang <alisonzhang at ibm.com>
(cherry picked from commit 3af5c98200e0b1268f755c3f289be4f73aac4214)

Added: 
    

Modified: 
    llvm/utils/release/test-release.sh

Removed: 
    


################################################################################
diff  --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 0af16387ce1d8e..4314b565e11b03 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -532,9 +532,9 @@ function build_llvmCore() {
       BuildTarget="clang"
       InstallTarget="install-clang install-clang-resource-headers"
       # compiler-rt builtins is needed on AIX to have a functional Phase 1 clang.
-      if [ "$System" = "AIX" -o "$Phase" != "1" ]; then
+      if [ "$System" = "AIX" ]; then
         BuildTarget="$BuildTarget runtimes"
-        InstallTarget="$InstallTarget install-runtimes"
+        InstallTarget="$InstallTarget install-builtins"
       fi
     fi
     if [ "$Phase" -eq "3" ]; then


        


More information about the llvm-branch-commits mailing list