[all-commits] [llvm/llvm-project] 396de6: [CMake] Link MLIR if CLANG_ENABLE_CIR

aokblast via All-commits all-commits at lists.llvm.org
Sun Sep 27 00:12:20 PDT 2026


  Branch: refs/heads/users/aokblast/cmake/import_cir_cmake
  Home:   https://github.com/llvm/llvm-project
  Commit: 396de6b33d5525d284438a73b06c545891ea9ddf
      https://github.com/llvm/llvm-project/commit/396de6b33d5525d284438a73b06c545891ea9ddf
  Author: ShengYi Hung <aokblast at FreeBSD.org>
  Date:   2026-09-27 (Sun, 27 Sep 2026)

  Changed paths:
    M clang/cmake/modules/CMakeLists.txt
    M clang/cmake/modules/ClangConfig.cmake.in

  Log Message:
  -----------
  [CMake] Link MLIR if CLANG_ENABLE_CIR

CIR requires MLIR to build. However, MLIR doesn't have a separate
config file; it dependencies are checked by ClangTarget.cmake without
linking the MLIR library. Link against MLIR in ClangCOnfig.cmake when
CIR is enabled.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list