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
do_libunwind="yes"
do_test_suite="yes"
do_openmp="yes"
+do_bolt="no"
do_lld="yes"
do_lldb="yes"
do_polly="yes"
-no-openmp )
do_openmp="no"
;;
+ -bolt )
+ do_bolt="yes"
+ ;;
+ -no-bolt )
+ do_bolt="no"
+ ;;
-no-lld )
do_lld="no"
;;
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