[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:25:59 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdb698c535fd5: [test-release] Build BOLT by default for x86/arm (authored by rafauler).

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.473017.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221103/33563084/attachment.bin>


More information about the llvm-commits mailing list