[llvm] db698c5 - [test-release] Build BOLT by default for x86/arm
Rafael Auler via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 3 13:25:58 PDT 2022
Author: Rafael Auler
Date: 2022-11-03T13:25:31-07:00
New Revision: db698c535fd5a131429e305e194a8524f15424ba
URL: https://github.com/llvm/llvm-project/commit/db698c535fd5a131429e305e194a8524f15424ba
DIFF: https://github.com/llvm/llvm-project/commit/db698c535fd5a131429e305e194a8524f15424ba.diff
LOG: [test-release] Build BOLT by default for x86/arm
Make BOLT build by default in X86 and AArch64 Linux boxes.
Reviewed By: thieta, xbolva00
Differential Revision: https://reviews.llvm.org/D137305
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 9208161c7da1b..cb01ed5bd8843 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -12,6 +12,7 @@
#===------------------------------------------------------------------------===#
System=`uname -s`
+Machine=`uname -m`
if [ "$System" = "FreeBSD" ]; then
MAKE=gmake
else
@@ -35,7 +36,6 @@ do_libcxxabi="yes"
do_libunwind="yes"
do_test_suite="yes"
do_openmp="yes"
-do_bolt="no"
do_lld="yes"
do_lldb="yes"
do_polly="yes"
@@ -47,6 +47,15 @@ ExtraConfigureFlags=""
ExportBranch=""
git_ref=""
+do_bolt="no"
+if [ "$System" = "Linux" ]; then
+ case $Machine in
+ x86_64 | arm64 | aarch64 )
+ do_bolt="yes"
+ ;;
+ esac
+fi
+
function usage() {
echo "usage: `basename $0` -release X.Y.Z -rc NUM [OPTIONS]"
echo ""
More information about the llvm-commits
mailing list