[all-commits] [llvm/llvm-project] 78fb02: [compiler-rt][macOS]: Disable iOS support if iOS S...

Tobias Hieta via All-commits all-commits at lists.llvm.org
Tue Feb 7 23:12:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78fb02107ae5819501af2600b0bebd48c1900a9b
      https://github.com/llvm/llvm-project/commit/78fb02107ae5819501af2600b0bebd48c1900a9b
  Author: Tobias Hieta <tobias at plex.tv>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M compiler-rt/cmake/base-config-ix.cmake

  Log Message:
  -----------
  [compiler-rt][macOS]: Disable iOS support if iOS SDK is not found

If you are missing the iOS SDK on your macOS (for example you don't have
full Xcode but just CommandLineTools) then CMake currently errors
out without a helpful message. This patch disables iOS support in
compiler-rt if the iOS SDK is not found. This can be overriden by
passing -DCOMPILER_RT_ENABLE_IOS=ON.

Reviewed By: delcypher, thetruestblue

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




More information about the All-commits mailing list