[all-commits] [llvm/llvm-project] 890730: [cmake] Handle iOS, watchOS and tvOS when finding ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Mar 21 18:55:26 PDT 2022


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

  Changed paths:
    M cmake/Modules/HandleCompilerRT.cmake

  Log Message:
  -----------
  [cmake] Handle iOS, watchOS and tvOS when finding compiler-rt on Apple

This patch uses CMAKE_OSX_SYSROOT, which should contain the SDK path
that we're building against on Apple platforms, to determine which
platform we are compiling for and set the compiler-rt suffix accordingly.

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




More information about the All-commits mailing list