[PATCH] D137305: [test-release] Build BOLT by default for x86/arm
Rafael Auler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 2 18:10:18 PDT 2022
rafauler created this revision.
rafauler added reviewers: tstellar, thieta.
Herald added subscribers: pengfei, kristof.beyls.
Herald added a project: All.
rafauler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Make BOLT build by default in X86 and AArch64 Linux boxes.
Repository:
rG LLVM Github Monorepo
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
@@ -35,7 +35,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 +46,20 @@
ExportBranch=""
git_ref=""
+Machine=`uname -m`
+do_bolt="no"
+if [ "$System" = "Linux" ]; then
+ case $Machine in
+ x86_64 )
+ do_bolt="yes"
+ ;;
+ 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.472819.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221103/5d3d0c68/attachment.bin>
More information about the llvm-commits
mailing list