[PATCH] D122931: [CMake][compiler-rt] Support for using in-tree libc++

2022-07-10 Thread Petr Hosek via Phabricator via cfe-commits
phosek abandoned this revision. phosek added a comment. This was broken up into a series of smaller changes which landed separately. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122931/new/ https://reviews.llvm.org/D122931 ___

[PATCH] D122931: [CMake][compiler-rt] Support for using in-tree libc++

2022-06-17 Thread Petr Hosek via Phabricator via cfe-commits
phosek added inline comments. Herald added a subscriber: Enna1. Comment at: compiler-rt/CMakeLists.txt:513-515 +# Don't use libcxx if LLVM_ENABLE_PROJECTS does not enable it. +set(COMPILER_RT_LIBCXX_PATH ${LLVM_EXTERNAL_LIBCXX_SOURCE_DIR}) +set(COMPILER_RT_LIBCXXABI_P

[PATCH] D122931: [CMake][compiler-rt] Support for using in-tree libc++

2022-04-28 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai requested changes to this revision. smeenai added a comment. This revision now requires changes to proceed. (clearing my queue while there are unaddressed comments) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122931/new/ https://reviews.l

[PATCH] D122931: [CMake][compiler-rt] Support for using in-tree libc++

2022-04-11 Thread Louis Dionne via Phabricator via cfe-commits
ldionne added a comment. I like this, however IMO it would be better to instead have something like COMPILER_RT_CXX_LIBRARY="libc++|system-libc++|libstdc++|..." That way, this can be extended to support other C++ libraries without having to add new boolean options, and without forcing folks t

[PATCH] D122931: [CMake][compiler-rt] Support for using in-tree libc++

2022-04-01 Thread Petr Hosek via Phabricator via cfe-commits
phosek updated this revision to Diff 419831. phosek edited the summary of this revision. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122931/new/ https://reviews.llvm.org/D122931 Files: clang/cmake/caches/Fuchsia-stage2.cmake compiler-rt/CMakeL

[PATCH] D122931: [CMake][compiler-rt] Support for using in-tree libc++

2022-04-01 Thread Petr Hosek via Phabricator via cfe-commits
phosek created this revision. phosek added reviewers: ldionne, smeenai, beanz. Herald added subscribers: abrachet, mgorny, dberris. Herald added a project: All. phosek requested review of this revision. Herald added projects: clang, Sanitizers. Herald added subscribers: Sanitizers, cfe-commits. co