[all-commits] [llvm/llvm-project] 3ee0ce: [runtimes] Remove FOO_TARGET_TRIPLE, FOO_SYSROOT a...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Mar 1 05:41:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ee0cec88effc88285732c8bec2a8f0e4e37c0b1
      https://github.com/llvm/llvm-project/commit/3ee0cec88effc88285732c8bec2a8f0e4e37c0b1
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-03-01 (Tue, 01 Mar 2022)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/docs/BuildingLibcxx.rst
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/lib/abi/CMakeLists.txt
    M libcxx/test/CMakeLists.txt
    M libcxx/test/configs/legacy.cfg.in
    M libcxxabi/CMakeLists.txt
    M libcxxabi/test/CMakeLists.txt
    M libcxxabi/test/lit.site.cfg.in
    M libunwind/CMakeLists.txt
    M libunwind/docs/BuildingLibunwind.rst
    M libunwind/test/CMakeLists.txt
    M libunwind/test/lit.site.cfg.in

  Log Message:
  -----------
  [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




More information about the All-commits mailing list