[llvm] e994905 - [test-release] Add option to build BOLT
Rafael Auler via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 14:03:54 PDT 2022
Author: Rafael Auler
Date: 2022-08-15T14:03:30-07:00
New Revision: e99490512e911f67bc7c17c2432ed06cebe4042f
URL: https://github.com/llvm/llvm-project/commit/e99490512e911f67bc7c17c2432ed06cebe4042f
DIFF: https://github.com/llvm/llvm-project/commit/e99490512e911f67bc7c17c2432ed06cebe4042f.diff
LOG: [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
Added:
Modified:
llvm/utils/release/test-release.sh
Removed:
################################################################################
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index ef36c7846bed1..9208161c7da1b 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -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"
@@ -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"
;;
@@ -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
More information about the llvm-commits
mailing list