[llvm] [Release] Build compiler-rt during Phase 1 on AIX (PR #70672)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 11:23:33 PDT 2023
https://github.com/azhan92 updated https://github.com/llvm/llvm-project/pull/70672
>From 0909cd26027e1c0fa2992470cdf7a26e38ef84e3 Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonzhang at ibm.com>
Date: Mon, 30 Oct 2023 11:27:43 -0400
Subject: [PATCH 1/2] build clang-rt on AIX
---
llvm/utils/release/test-release.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 5fd5f82b544796e..967b98a94b8081f 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+u!/usr/bin/env bash
#===-- test-release.sh - Test the LLVM release candidates ------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
@@ -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 built-ins needed on AIX to have a functional Phase 1 clang.
+ if [ "$System" = "AIX" ]; then
+ runtime_list="compiler-rt"
+ fi
else
runtime_list="$runtimes"
fi
>From 8040ed9f332fc6a0a2b38c2d1b822dddb288f26c Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonzhang at ibm.com>
Date: Mon, 30 Oct 2023 14:23:21 -0400
Subject: [PATCH 2/2] fix typo
---
llvm/utils/release/test-release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 967b98a94b8081f..7e25f377959cbe8 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -1,4 +1,4 @@
-u!/usr/bin/env bash
+!/usr/bin/env bash
#===-- test-release.sh - Test the LLVM release candidates ------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
More information about the llvm-commits
mailing list