Skip to content

Commit bfe5e81

Browse files
committed
Revert "Fix locating of COMPILER_RT_LIBCXX_PATH"
clang-aarch64-sve-vla crashes in msan clang-s390x-linux-lnt fails to compile libcxx This reverts commit 14b2b67.
1 parent 6bfcac6 commit bfe5e81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler-rt/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,7 @@ if(COMPILER_RT_USE_LIBCXX)
672672
# Don't use libcxx if LLVM_ENABLE_PROJECTS does not enable it.
673673
set(COMPILER_RT_LIBCXX_PATH ${LLVM_EXTERNAL_LIBCXX_SOURCE_DIR})
674674
set(COMPILER_RT_LIBCXXABI_PATH ${LLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR})
675-
endif()
676-
if(NOT IS_DIRECTORY ${COMPILER_RT_LIBCXX_PATH})
675+
else()
677676
foreach(path IN ITEMS ${LLVM_MAIN_SRC_DIR}/projects/libcxx
678677
${LLVM_MAIN_SRC_DIR}/runtimes/libcxx
679678
${LLVM_MAIN_SRC_DIR}/../libcxx

0 commit comments

Comments
 (0)