[PATCH] D137305: [test-release] Build BOLT by default for x86/arm
Rafael Auler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 3 13:19:49 PDT 2022
rafauler updated this revision to Diff 473012.
rafauler added a comment.
Implement suggestions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137305/new/
https://reviews.llvm.org/D137305
Files:
llvm/utils/release/test-release.sh
Index: llvm/utils/release/test-release.sh
===================================================================
--- llvm/utils/release/test-release.sh
+++ 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_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 @@
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 ""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137305.473012.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221103/080d7ab8/attachment.bin>
More information about the llvm-commits
mailing list