[all-commits] [llvm/llvm-project] 80405d: [llvm] Include LLVM_ENABLE_RUNTIMES in the cross c...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Oct 29 16:32:57 PDT 2021


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

  Changed paths:
    M llvm/cmake/modules/CrossCompile.cmake

  Log Message:
  -----------
  [llvm] Include LLVM_ENABLE_RUNTIMES in the cross compilation invocation

Forward the LLVM_ENABLE_RUNTIMES cmake variable in the cross compilation
invocation.

Now that passing libcxx must be specified in LLVM_ENABLE_RUNTIMES
instead of LLVM_ENABLE_PROJECTS, the LLDB's sanity check for libcxx
trips up (in the cross compilation case) because the runtimes are not
forwarded. This patch fixes that.

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




More information about the All-commits mailing list