Skip to content

Commit

Permalink
[test-release] Add option to build BOLT
Browse files Browse the repository at this point in the history
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.

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D131703
  • Loading branch information
rafaelauler committed Aug 15, 2022
1 parent 5605f17 commit e994905
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions llvm/utils/release/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ 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"
Expand Down Expand Up @@ -163,6 +164,12 @@ while [ $# -gt 0 ]; do
-no-openmp )
do_openmp="no"
;;
-bolt )
do_bolt="yes"
;;
-no-bolt )
do_bolt="no"
;;
-no-lld )
do_lld="no"
;;
Expand Down Expand Up @@ -265,6 +272,9 @@ fi
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
Expand Down

0 comments on commit e994905

Please sign in to comment.