aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazhan92 <alisonxzhang@gmail.com>2024-02-15 21:27:45 -0500
committerTom Stellard <tstellar@redhat.com>2024-03-13 11:13:40 -0700
commit159969b3880b89fdd6ee262ccee6c74a5c79607a (patch)
treefb92e058e2663630ceed8d53cfd820fdfe36bf27
parent7b61ddefc28a2c88be3a754ceee7bace98e3b187 (diff)
downloadllvm-159969b3880b89fdd6ee262ccee6c74a5c79607a.zip
llvm-159969b3880b89fdd6ee262ccee6c74a5c79607a.tar.gz
llvm-159969b3880b89fdd6ee262ccee6c74a5c79607a.tar.bz2
[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@ibm.com> (cherry picked from commit 3af5c98200e0b1268f755c3f289be4f73aac4214)
-rwxr-xr-xllvm/utils/release/test-release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 0af1638..4314b56 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