[compiler-rt] 1163331 - [symbolizer] Remove check if it's monorepo
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 23 14:53:47 PDT 2022
Author: Vitaly Buka
Date: 2022-08-23T14:49:05-07:00
New Revision: 11633314d8431c42e9d22cad599a5c4e428a3d40
URL: https://github.com/llvm/llvm-project/commit/11633314d8431c42e9d22cad599a5c4e428a3d40
DIFF: https://github.com/llvm/llvm-project/commit/11633314d8431c42e9d22cad599a5c4e428a3d40.diff
LOG: [symbolizer] Remove check if it's monorepo
Added:
Modified:
compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh b/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
index 52c45d48de154..4b4af221d58b7 100755
--- a/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
+++ b/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
@@ -100,12 +100,8 @@ if [[ ! -d ${LIBCXX_BUILD} ]]; then
mkdir -p ${LIBCXX_BUILD}
cd ${LIBCXX_BUILD}
LIBCXX_FLAGS="${FLAGS} -Wno-macro-redefined"
- PROJECTS=
- if [[ ! -d $LLVM_SRC/projects/libcxxabi ]] ; then
- PROJECTS="-DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi'"
- fi
cmake -GNinja \
- ${PROJECTS} \
+ -DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi' \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=$CC \
-DCMAKE_CXX_COMPILER=$CXX \
More information about the llvm-commits
mailing list