From c6fa26b505531aa69a3bed3a6e9e740fdccb9309 Mon Sep 17 00:00:00 2001 From: azhan92 Date: Thu, 15 Feb 2024 21:27:45 -0500 Subject: [PATCH] [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 (cherry picked from commit 3af5c98200e0b1268f755c3f289be4f73aac4214) --- llvm/utils/release/test-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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