Skip to content

Commit 006c0c8

Browse files
authored
[sanitizer] Fix libcxx cache existence check in symbolizer build (#149249)
The script incorrectly checked ${LLVM_BUILD}/build.ninja to determine if cached libcxx is available, while it should be checking the actual libcxx build directory at ${LIBCXX_BUILD}/build.ninja.
1 parent 0e00bc4 commit 006c0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ AR="${AR}" CC="${CC}" CFLAGS="$FLAGS -Wno-deprecated-non-prototype" RANLIB=/bin/
8787
make -j libz.a
8888

8989
# Build and install libcxxabi and libcxx.
90-
if [[ ! -f ${LLVM_BUILD}/build.ninja ]]; then
90+
if [[ ! -f ${LIBCXX_BUILD}/build.ninja ]]; then
9191
rm -rf "${LIBCXX_BUILD}" "${LIBCXX_INSTALL}"
9292
mkdir -p ${LIBCXX_BUILD} ${LIBCXX_INSTALL}
9393
cd ${LIBCXX_BUILD}

0 commit comments

Comments
 (0)