[PATCH] D131703: [test-release] Add option to build BOLT

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 11:01:49 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.

Add a flag to enable BOLT. Should be used in x86-64 and
AArch64 linux builds only, since BOLT doesn't really support other
targets and is mostly tested on these two systems as hosts.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131703

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,6 +35,7 @@
 do_libunwind="yes"
 do_test_suite="yes"
 do_openmp="yes"
+do_bolt="no"
 do_lld="yes"
 do_lldb="yes"
 do_polly="yes"
@@ -163,6 +164,12 @@
         -no-openmp )
             do_openmp="no"
             ;;
+        -bolt )
+            do_bolt="yes"
+            ;;
+        -no-bolt )
+            do_bolt="no"
+            ;;
         -no-lld )
             do_lld="no"
             ;;
@@ -265,6 +272,9 @@
 if [ $do_openmp = "yes" ]; then
   projects="$projects openmp"
 fi
+if [ $do_bolt = "yes" ]; then
+  projects="$projects bolt"
+fi
 if [ $do_lld = "yes" ]; then
   projects="$projects lld"
 fi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131703.451920.patch
Type: text/x-patch
Size: 806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220811/8df00bd0/attachment.bin>


More information about the llvm-commits mailing list