[all-commits] [llvm/llvm-project] 889a1e: [llvm] [cmake] Export LLVM_ENABLE_NEW_PASS_MANAGER...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Aug 6 11:40:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 889a1e69bd2d65c368712ec653450099446aed33
      https://github.com/llvm/llvm-project/commit/889a1e69bd2d65c368712ec653450099446aed33
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-08-06 (Fri, 06 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




More information about the All-commits mailing list