aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [runtimes] Add the libc project to the list of runtimes.Siva Chandra2021-03-231-1/+1
| | | | | | This is possible as the default libc build now works under runtimes build. Differential Revision: https://reviews.llvm.org/D99101
* [CMake] Rename RUNTIMES_BUILD to LLVM_RUNTIMES_BUILDPetr Hosek2021-03-031-1/+1
| | | | | | This avoid potential conflict with other internal variables. Differential Revision: https://reviews.llvm.org/D97838
* [runtimes] Use standalone build only for compiler-rtPetr Hosek2021-03-031-13/+6
| | | | | | | compiler-rt needs to use standalone build because of the assumptions made by its build, but other runtimes can use non-standalone build. Differential Revision: https://reviews.llvm.org/D97575
* Revert "[runtimes] Use standalone build only for compiler-rt"Petr Hosek2021-03-021-5/+13
| | | | | This reverts commit 4e421b2323b38e94e82ac71e5a4dfd78f6744e87 as this seemed to have broke Python 3 executable detection on some builders.
* [runtimes] Use standalone build only for compiler-rtPetr Hosek2021-03-021-13/+5
| | | | | | | compiler-rt needs to use standalone build because of the assumptions made by its build, but other runtimes can use non-standalone build. Differential Revision: https://reviews.llvm.org/D97575
* [MSVC] Don't add -nostdinc++ -isystem to runtimes buildsReid Kleckner2021-01-151-6/+9
| | | | | | | | | | | | | | If the host compiler is MSVC or clang-cl, then the compiler used to buidl the runtimes will be clang-cl, and it doesn't support either of those flags. Worse, because -isystem is a space separated flag, it causes all cmake try_compile tests to fail, so none of the -Wno-* flags make it to the compiler in libcxx. I noticed that we weren't passing -Wno-user-defined-literals to clang-cl and were getting warnings in the build, and this fixes that for me. Differential Revision: https://reviews.llvm.org/D94817
* [CMake] Split the target side of runtimes buildPetr Hosek2021-01-112-0/+203
Previously, llvm/runtimes/CMakeLists.txt played two different roles: 1. host side which could used to set up the build of runtimes for different targets in the right order; 2. target side to build the runtimes for the specified target. This change splits llvm/runtimes/CMakeLists.txt and moves the target side to runtimes/CMakeLists laying down the foundation for the "A vision for building the runtimes" proposal. From the user perspective, there shouldn't be any visible difference at the moment. Differential Revision: https://reviews.llvm.org/D93408