Skip to content

Commit

Permalink
[Release] Install compiler-rt builtins during Phase 1 on AIX (llvm#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>
  • Loading branch information
azhan92 and alisonzhang4 authored Feb 16, 2024
1 parent 9150858 commit 3af5c98
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

Expand Down

0 comments on commit 3af5c98

Please sign in to comment.