Skip to content

Commit 3af5c98

Browse files
[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 <[email protected]>
1 parent 9150858 commit 3af5c98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/utils/release/test-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,9 @@ function build_llvmCore() {
532532
BuildTarget="clang"
533533
InstallTarget="install-clang install-clang-resource-headers"
534534
# compiler-rt builtins is needed on AIX to have a functional Phase 1 clang.
535-
if [ "$System" = "AIX" -o "$Phase" != "1" ]; then
535+
if [ "$System" = "AIX" ]; then
536536
BuildTarget="$BuildTarget runtimes"
537-
InstallTarget="$InstallTarget install-runtimes"
537+
InstallTarget="$InstallTarget install-builtins"
538538
fi
539539
fi
540540

0 commit comments

Comments
 (0)