title: How to install llvm@13 with Homerew on macOS High Sierra 10.13.6? Got "Built target lldELF" error
body: <p>Although High Sierra is no longer supported by Homebrew, but I need to install <code>llvm@13</code> formula as a dependency for other formulas. So I tried to install it this way:</p>
  <pre><code>$ brew install llvm
  ...
  ==&gt; Downloading https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/llvm-project-13.0.0.src.tar.xz
  Already downloaded: /Users/username/Library/Caches/Homebrew/downloads/8fd68fc8f968137c5080826db6e58682326235960fd8469363eb27d0799978ca--llvm-project-13.0.0.src.tar.xz
  ...
  ==&gt; Installing llvm
  ==&gt; cmake -G Unix Makefiles .. -DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;lld;lldb;mlir;polly -DLLVM_ENABLE_RUNTIMES=compiler-rt;libcxx;libcxxabi;libunwind;openmp -DLLVM_POLLY_L
  ==&gt; cmake --build .
  ...
  [ 79%] Built target lldELF
  make: *** [all] Error 2
  </code></pre>
  <p>An error is occurred after a long time of compilation. I also found this error in <code>~/Library/Logs/Homebrew/llvm/02.cmake</code>:</p>
  <pre><code>/tmp/llvm-20211109-12151-m0zvtm/llvm-project-13.0.0.src/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm:246:52: error: use of undeclared identifier 'CPU_SUBTYPE_ARM64E'
      if (cputype == CPU_TYPE_ARM64 &amp;&amp; cpusubtype == CPU_SUBTYPE_ARM64E) {
                                                     ^
  1 error generated.
  make[2]: *** [tools/lldb/source/Host/macosx/objcxx/CMakeFiles/lldbHostMacOSXObjCXX.dir/HostInfoMacOSX.mm.o] Error 1
  make[1]: *** [tools/lldb/source/Host/macosx/objcxx/CMakeFiles/lldbHostMacOSXObjCXX.dir/all] Error 2
  </code></pre>
  <p>How can I fix that compilation error?</p>