[all-commits] [llvm/llvm-project] d32154: [llvm] Disable xar on macOS 12.0 and later

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Oct 29 15:31:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d321548c3ce987f4f21350ba1c81fdb5d4354224
      https://github.com/llvm/llvm-project/commit/d321548c3ce987f4f21350ba1c81fdb5d4354224
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M llvm/cmake/config-ix.cmake

  Log Message:
  -----------
  [llvm] Disable xar on macOS 12.0 and later

The xar file format has been deprecated since macOS 12.0, causing a
warning to be printed:

  warning: 'xar_open' is deprecated: first deprecated in macOS 12.0 -
  xar is a deprecated file format and should not be used.

Disable xar support when the macosx deployment target is greater or
equal to 12.0.

Differential revision: https://reviews.llvm.org/D112849




More information about the All-commits mailing list