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

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 18:27:48 PST 2024


Author: azhan92
Date: 2024-02-15T22:27:45-04:00
New Revision: 3af5c98200e0b1268f755c3f289be4f73aac4214

URL: https://github.com/llvm/llvm-project/commit/3af5c98200e0b1268f755c3f289be4f73aac4214
DIFF: https://github.com/llvm/llvm-project/commit/3af5c98200e0b1268f755c3f289be4f73aac4214.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>

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 5b1945df47d24a..c3f4f42314309b 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
 


        


More information about the llvm-commits mailing list