Skip to content

Commit e994905

Browse files
committed
[test-release] Add option to build BOLT
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
1 parent 5605f17 commit e994905

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

llvm/utils/release/test-release.sh

+10
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ do_libcxxabi="yes"
3535
do_libunwind="yes"
3636
do_test_suite="yes"
3737
do_openmp="yes"
38+
do_bolt="no"
3839
do_lld="yes"
3940
do_lldb="yes"
4041
do_polly="yes"
@@ -163,6 +164,12 @@ while [ $# -gt 0 ]; do
163164
-no-openmp )
164165
do_openmp="no"
165166
;;
167+
-bolt )
168+
do_bolt="yes"
169+
;;
170+
-no-bolt )
171+
do_bolt="no"
172+
;;
166173
-no-lld )
167174
do_lld="no"
168175
;;
@@ -265,6 +272,9 @@ fi
265272
if [ $do_openmp = "yes" ]; then
266273
projects="$projects openmp"
267274
fi
275+
if [ $do_bolt = "yes" ]; then
276+
projects="$projects bolt"
277+
fi
268278
if [ $do_lld = "yes" ]; then
269279
projects="$projects lld"
270280
fi

0 commit comments

Comments
 (0)