[runtimes] Remove FOO_TARGET_TRIPLE, FOO_SYSROOT and FOO_GCC_TOOLCHAIN
authorLouis Dionne <ldionne.2@gmail.com>
Tue, 12 Oct 2021 19:59:08 +0000 (15:59 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Tue, 1 Mar 2022 13:39:42 +0000 (08:39 -0500)
commit3ee0cec88effc88285732c8bec2a8f0e4e37c0b1
treec68506c88557c1e93442f77a9c77d5ed128fc614
parent368faacac7525e538fa6680aea74e19a75e3458d
[runtimes] Remove FOO_TARGET_TRIPLE, FOO_SYSROOT and FOO_GCC_TOOLCHAIN

Instead, folks can use the equivalent variables provided by CMake
to set those. This removal aims to reduce complexity and potential
for confusion when setting the target triple for building the runtimes,
and make it correct when `CMAKE_OSX_ARCHITECTURES` is used (right now
both `-arch` and `--target=` will end up being passed, which is downright
incorrect).

Differential Revision: https://reviews.llvm.org/D112155
13 files changed:
libcxx/CMakeLists.txt
libcxx/docs/BuildingLibcxx.rst
libcxx/docs/ReleaseNotes.rst
libcxx/lib/abi/CMakeLists.txt
libcxx/test/CMakeLists.txt
libcxx/test/configs/legacy.cfg.in
libcxxabi/CMakeLists.txt
libcxxabi/test/CMakeLists.txt
libcxxabi/test/lit.site.cfg.in
libunwind/CMakeLists.txt
libunwind/docs/BuildingLibunwind.rst
libunwind/test/CMakeLists.txt
libunwind/test/lit.site.cfg.in