Skip to content

Commit

Permalink
[Release] Install compiler-rt builtins during Phase 1 on AIX (#81485)
Browse files Browse the repository at this point in the history
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 3af5c98)
  • Loading branch information
azhan92 authored and llvmbot committed Feb 28, 2024
1 parent 461274b commit c6fa26b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/utils/release/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6fa26b

Please sign in to comment.