[all-commits] [llvm/llvm-project] bb0212: Fix CMake LLVM_TARGETS_TO_BUILD "Native" option to...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Feb 2 10:47:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb0212929e36732585f0b43f9b0301af51953667
      https://github.com/llvm/llvm-project/commit/bb0212929e36732585f0b43f9b0301af51953667
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

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

  Log Message:
  -----------
  Fix CMake LLVM_TARGETS_TO_BUILD "Native" option to work with JIT

LLVM_TARGETS_TO_BUILD accepts both "host" or "Native" for auto-selecting
the target from the environment. However the way "Native" was plumbed
would lead to the JIT environment being disabled. This patch is making
"Native" works just as "host".

Reviewed By: rnk

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




More information about the All-commits mailing list