[all-commits] [llvm/llvm-project] 2ee308: [CMake] Setting the LLVM_TARGET_TRIPLE macro based...

nicolerabjohn via All-commits all-commits at lists.llvm.org
Tue Dec 13 17:05:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ee308ceea88a4a3c3eb56de9ad6ed7abcdd3bde
      https://github.com/llvm/llvm-project/commit/2ee308ceea88a4a3c3eb56de9ad6ed7abcdd3bde
  Author: Nicole Rabjohn <nicolerabjohn at gmail.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M llvm/CMakeLists.txt
    A llvm/cmake/modules/SetTargetTriple.cmake
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Setting the LLVM_TARGET_TRIPLE macro based on the LLVM_DEFAULT_TARGET_TRIPLE

After D137870, LLVM_TARGET_TRIPLE is no longer defined on the runtime
path into compiler-rt. This patch creates a common block of code to set
LLVM_TARGET_TRIPLE equal to the default for both the llvm- and runtime-
paths.

Differential Revision: https://reviews.llvm.org/D138864




More information about the All-commits mailing list