Skip to content

Commit ddfee5d

Browse files
[Release] Build compiler-rt during Phase 1 on AIX (#70672)
Compiler-rt built-ins are needed to have a functional Phase 1 clang compiler on AIX. This PR adds compiler-rt to the runtime_list during Phase 1 to avoid this problem. --------- Co-authored-by: Alison Zhang <[email protected]>
1 parent 7fa41d8 commit ddfee5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/utils/release/test-release.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,10 @@ function configure_llvmCore() {
417417
# building itself and any selected runtimes in the second phase.
418418
if [ "$Phase" -lt "2" ]; then
419419
runtime_list=""
420+
# compiler-rt builtins is needed on AIX to have a functional Phase 1 clang.
421+
if [ "$System" = "AIX" ]; then
422+
runtime_list="compiler-rt"
423+
fi
420424
else
421425
runtime_list="$runtimes"
422426
fi

0 commit comments

Comments
 (0)