[all-commits] [llvm/llvm-project] 4dd681: [llvm] [cmake] Export LLVM_ENABLE_NEW_PASS_MANAGER...

Michał Górny via All-commits all-commits at lists.llvm.org
Tue Aug 10 15:37:49 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dd68156855240cd63dd59959fb02f320dd76691
      https://github.com/llvm/llvm-project/commit/4dd68156855240cd63dd59959fb02f320dd76691
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M llvm/cmake/modules/LLVMConfig.cmake.in

  Log Message:
  -----------
  [llvm] [cmake] Export LLVM_ENABLE_NEW_PASS_MANAGER into LLVMConfig.cmake

Include the vaue of LLVM_ENABLE_NEW_PASS_MANAGER in generated
LLVMConfig.cmake since it is needed by clang's build system.  This fixes
test failures when the new pass manager is enabled (i.e. by default)
by having clang's CMake files correctly detect that and skip relevant
tests.

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

(cherry picked from commit 889a1e69bd2d65c368712ec653450099446aed33)




More information about the All-commits mailing list