[llvm] ddfee5d - [Release] Build compiler-rt during Phase 1 on AIX (#70672)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 2 06:41:05 PDT 2023
Author: azhan92
Date: 2023-11-02T09:41:00-04:00
New Revision: ddfee5d2d6f845d38fbdd0ce3a42acdb95e009b2
URL: https://github.com/llvm/llvm-project/commit/ddfee5d2d6f845d38fbdd0ce3a42acdb95e009b2
DIFF: https://github.com/llvm/llvm-project/commit/ddfee5d2d6f845d38fbdd0ce3a42acdb95e009b2.diff
LOG: [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 <alisonzhang at ibm.com>
Added:
Modified:
llvm/utils/release/test-release.sh
Removed:
################################################################################
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 5fd5f82b544796e..ff8be5257e2c86e 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -417,6 +417,10 @@ function configure_llvmCore() {
# building itself and any selected runtimes in the second phase.
if [ "$Phase" -lt "2" ]; then
runtime_list=""
+ # compiler-rt builtins is needed on AIX to have a functional Phase 1 clang.
+ if [ "$System" = "AIX" ]; then
+ runtime_list="compiler-rt"
+ fi
else
runtime_list="$runtimes"
fi
More information about the llvm-commits
mailing list