[llvm] [Release] Install compiler-rt builtins during Phase 1 on AIX (PR #81485)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 13:25:42 PST 2024
https://github.com/azhan92 updated https://github.com/llvm/llvm-project/pull/81485
>From 660ba3fc552d95eb77d078d98a9684e4bf5d71cd Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonxzhang at gmail.com>
Date: Mon, 12 Feb 2024 14:35:06 +0000
Subject: [PATCH 1/2] Update install target
---
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 5b1945df47d24a..e1dc6e62002393 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -534,7 +534,7 @@ function build_llvmCore() {
# compiler-rt builtins is needed on AIX to have a functional Phase 1 clang.
if [ "$System" = "AIX" -o "$Phase" != "1" ]; then
BuildTarget="$BuildTarget runtimes"
- InstallTarget="$InstallTarget install-runtimes"
+ InstallTarget="$InstallTarget install-runtimes install-builtins"
fi
fi
>From 29d90a239bfc51ce22a5bd61e32cd755f36ab740 Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonzhang at ibm.com>
Date: Wed, 14 Feb 2024 16:25:31 -0500
Subject: [PATCH 2/2] Condition only applies on AIX
---
llvm/utils/release/test-release.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index e1dc6e62002393..c3f4f42314309b 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -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 install-builtins"
+ InstallTarget="$InstallTarget install-builtins"
fi
fi
More information about the llvm-commits
mailing list